nang-dev / automated_youtube_channel

Automated youtube that can scrape content, edit a compilation, and upload to youtube daily.
MIT License
708 stars 284 forks source link

nonetype #37

Open Animesh-Barai opened 2 years ago

Animesh-Barai commented 2 years ago

Traceback (most recent call last): File "/home/animesh/Downloads/automated_youtube_channel-master/main.py", line 145, in attemptRoutine() File "/home/animesh/Downloads/automated_youtube_channel-master/main.py", line 136, in attemptRoutine routine() File "/home/animesh/Downloads/automated_youtube_channel-master/main.py", line 90, in routine scrapeVideos(username = IG_USERNAME, File "/home/animesh/Downloads/automated_youtube_channel-master/scrape_videos.py", line 28, in scrapeVideos looter = ProfileLooter(acc, videos_only=True, template="{id}-{username}-{width}-{height}") File "/home/animesh/Downloads/automated_youtube_channel-master/automation/lib/python3.9/site-packages/instalooter/looters.py", line 705, in init super(ProfileLooter, self).init(**kwargs) File "/home/animesh/Downloads/automated_youtube_channel-master/automation/lib/python3.9/site-packages/instalooter/looters.py", line 287, in init token = get_shared_data(res.text)['config']['csrf_token'] File "/home/animesh/Downloads/automaty_youtube_channel-master/automation/lib/python3.9/site-packages/instalooter/_utils.py", line 94, in get_shared_data return json.loads(match.group(1)) AttributeError: 'NoneType' object has no attribute 'group'