mirror of
https://github.com/KevinMidboe/escape-snapchat.git
synced 2025-10-29 17:40:20 +00:00
Memory url index starts on 1 instead of 0
This commit is contained in:
@@ -53,7 +53,7 @@ else:
|
|||||||
|
|
||||||
st = datetime.datetime.now()
|
st = datetime.datetime.now()
|
||||||
for i, memory in enumerate(memories):
|
for i, memory in enumerate(memories):
|
||||||
print("{}: Time Elapsed: {}. Getting URL for date {}:".format(i, datetime.datetime.now() - st), memory["Date"], end=" ")
|
print("{}: Time Elapsed: {}. Getting URL for date {}:".format(i + 1, datetime.datetime.now() - st), memory["Date"], end=" ")
|
||||||
try:
|
try:
|
||||||
link = requests.post(memory["Download Link"]).text
|
link = requests.post(memory["Download Link"]).text
|
||||||
print("Success")
|
print("Success")
|
||||||
|
|||||||
Reference in New Issue
Block a user