You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 20, 2023. It is now read-only.
line 14, in
google_reel.scrape(headers=headers)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/instascrape/scrapers/post.py", line 88, in scrape
return_instance.upload_date = datetime.datetime.fromtimestamp(return_instance.timestamp)
ValueError: Invalid value NaN (not a number)
I am getting this error every time i am calling scrape method regardless of its type on what i am calling it for example it is coming on anything like posts, profile, IGTV, reel.
The whole code is this:
from instascrape import Reel
SESSIONID = "Session_id"
headers = {
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.74 Safari/537.36 Edg/79.0.309.43",
"cookie":f'sessionid={SESSIONID};'
}
line 14, in
google_reel.scrape(headers=headers)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/instascrape/scrapers/post.py", line 88, in scrape
return_instance.upload_date = datetime.datetime.fromtimestamp(return_instance.timestamp)
ValueError: Invalid value NaN (not a number)
I am getting this error every time i am calling scrape method regardless of its type on what i am calling it for example it is coming on anything like posts, profile, IGTV, reel.
The whole code is this:
from instascrape import Reel
SESSIONID = "Session_id"
headers = {
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.74 Safari/537.36 Edg/79.0.309.43",
"cookie":f'sessionid={SESSIONID};'
}
google_reel=Reel(link)
google_reel.scrape(headers=headers)
google_reel.download(fp=f"video.mp4")
The text was updated successfully, but these errors were encountered: