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 was archived by the owner on Apr 20, 2023. It is now read-only.
it is not possible to scrape the Post class, follow error:
ValueError Traceback (most recent call last) in ()
6 # Scrape their respective data
7 google.scrape(headers=headers)
----> 8 google_post.scrape(headers=headers)
9 google_hashtag.scrape(headers=headers)
10
/usr/local/lib/python3.7/dist-packages/instascrape/scrapers/post.py in scrape(self, mapping, keys, exclude, headers, inplace, session, webdriver)
86 # way to deal with returning a Post object with only partial data
87 if hasattr(return_instance, "timestamp"):
---> 88 return_instance.upload_date = datetime.datetime.fromtimestamp(return_instance.timestamp)
89 if hasattr(return_instance, "shortcode"):
90 return_instance.url = self._url_from_suburl(return_instance.shortcode)
it is not possible to scrape the Post class, follow error:
ValueError Traceback (most recent call last)
in ()
6 # Scrape their respective data
7 google.scrape(headers=headers)
----> 8 google_post.scrape(headers=headers)
9 google_hashtag.scrape(headers=headers)
10
/usr/local/lib/python3.7/dist-packages/instascrape/scrapers/post.py in scrape(self, mapping, keys, exclude, headers, inplace, session, webdriver)
86 # way to deal with returning a Post object with only partial data
87 if hasattr(return_instance, "timestamp"):
---> 88 return_instance.upload_date = datetime.datetime.fromtimestamp(return_instance.timestamp)
89 if hasattr(return_instance, "shortcode"):
90 return_instance.url = self._url_from_suburl(return_instance.shortcode)
ValueError: Invalid value NaN (not a number)