Convert build scripts to python 3
This commit is contained in:
parent
e1885e4cd3
commit
f54d5a4039
14 changed files with 86 additions and 83 deletions
|
@ -14,7 +14,7 @@ prs = set()
|
|||
def getpage(url, page):
|
||||
resp = requests.get(url + str(page))
|
||||
|
||||
for link in resp.links.values():
|
||||
for link in list(resp.links.values()):
|
||||
if link['rel'] == 'last':
|
||||
pagecount = re.search('page=(.+?)', link['url']).group(1)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue