Open CodingButter opened 2 years ago
I tried a few things things to fix my issue which was "Failed to fetch video meta" so not entirely sure what helped but the final touch was getting the cookie from the Network Tab as opposed to document.cookie
. I also did the following:
did this:
if 'video_hashed_id' in s and s['video_hashed_id']:
video_id = s['video_hashed_id'].split(':')[1]
elif 'video_thumbnail_url' in s and s['video_thumbnail_url']:
video_id = s['video_thumbnail_url'].split('/')[6]
instead of just:
if 'video_hashed_id' in s and s['video_hashed_id']:
video_id = s['video_hashed_id'].split(':')[1]
Commented out the if not video_id block.
i still get the same problem how can fix that
Updated the readme to clarify how to use the cookie. Fixed Array issue from data response