PEP8
This commit is contained in:
parent
e45ebec27f
commit
919c178756
|
@ -55,7 +55,7 @@ def extract_album_id(ctx, param, value):
|
|||
def get_ajaxalbum(ctx, album, output):
|
||||
"""Download the `hit.json` file of an album and process all images."""
|
||||
ctx.ensure_object(dict)
|
||||
#print(AJAX_BASEURL + ctx.obj['ALBUM_ID'] + '/hit.json')
|
||||
# print(AJAX_BASEURL + ctx.obj['ALBUM_ID'] + '/hit.json')
|
||||
req = requests.get(AJAX_BASEURL + ctx.obj['ALBUM_ID'] + '/hit.json')
|
||||
jsonalbum = req.json()
|
||||
for image in jsonalbum['data']['images']:
|
||||
|
|
Loading…
Reference in New Issue