instascrape
instascrape copied to clipboard
ValueError: Invalid value NaN (not a number)
it is not possible to scrape the Post class, follow error:
ValueError Traceback (most recent call last)
/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)