This commit is contained in:
Jay Pi Kay 2020-04-02 13:53:27 +00:00
parent e45ebec27f
commit 919c178756
1 changed files with 1 additions and 1 deletions

View File

@ -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']: