Traceback (most recent call last):


 "OnlyFans.py", line 170, in <module>

scrape_choice()


 "OnlyFans.py", line 91, in scrape_choice

media_scraper(video_api, location, j_directory, only_links)


 "OnlyFans.py", line 124, in media_scraper

dt = datetime.fromisoformat(media_api["postedAt"]).replace(tzinfo=None).strftime('%d-%m-%Y')
AttributeError: type object 'datetime.datetime' has no attribute 'fromisoformat'

Traceback (most recent call last):


 "D:\python_work\weiboSpider\weibo_spider\spider.py", line 310, in start

self.write_user(self.user)


 "D:\python_work\weiboSpider\weibo_spider\spider.py", line 136, in write_user

writer.write_user(user)


 "D:\python_work\weiboSpider\weibo_spider\writer\mysql_writer.py", line 135, in write_user

self._mysql_insert('user', [user.__dict__])
AttributeError: 'NoneType' object has no attribute '__dict__'
