Skip to content

Commit

Permalink
Fix 403s 1 minute into videos
Browse files Browse the repository at this point in the history
  • Loading branch information
user234683 committed Aug 11, 2023
1 parent a29b9fd commit 1f9bef8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion youtube/watch.py
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ def fetch_player_response(client, video_id):
data = {
'videoId': video_id,
'context': context,
'params': '8AEB',
'params': 'CgIQBg',
}
data = json.dumps(data)
headers = (('Content-Type', 'application/json'),('User-Agent', user_agent))
Expand Down

0 comments on commit 1f9bef8

Please sign in to comment.