mirror of
https://github.com/believethehype/nostrdvm.git
synced 2025-03-18 05:41:51 +01:00
Merge branch 'main' into nserver-modules
This commit is contained in:
commit
61cbd24f42
@ -498,7 +498,7 @@ def InstagramDownload(url, name, path) -> str:
|
||||
return path + "\\" + name + ".mp4"
|
||||
elif photo_url:
|
||||
response = requests.get(photo_url)
|
||||
with open(path + name + "\\" + ".jpg", "wb") as f:
|
||||
with open(path + "\\" + name + ".jpg", "wb") as f:
|
||||
f.write(response.content)
|
||||
return path + "\\" + name + ".jpg"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user