Skip to content

Commit

Permalink
refactor(plugin/youtube/parser): workaround the age-gate (http/404)
Browse files Browse the repository at this point in the history
  • Loading branch information
guendto committed Jul 1, 2021
1 parent bb5446a commit 844b437
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/jomiel/plugin/media/youtube/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,8 @@ def _video_info_request():
"video_id": v_id,
"eurl": f"https://youtube.googleapis.com/v/{v_id}",
"html5": 1,
"c": "TVHTML5",
"cver": "6.20180913",
},
)
uri = f"https://www.youtube.com/get_video_info?{data}"
Expand Down

0 comments on commit 844b437

Please sign in to comment.