blackjack4494 / yt-dlc

media downloader and library for various sites.
The Unlicense
2.91k stars 368 forks source link

[youtube] Fix XSRF Token regex #298

Open DonneyF opened 3 years ago

DonneyF commented 3 years ago

Before submitting a pull request make sure you have:

In order to be accepted and merged into youtube-dl each piece of code must be in public domain or released under Unlicense. Check one of the following options:

What is the purpose of your pull request?


Description of your pull request and other information

This PR fixes failing XSRF Token extraction from the YouTube extractor due to outdated regex. Regex for fix is taken from https://github.com/ytdl-org/youtube-dl/commit/942b8ca3bee90e13e0d058c03248670be1a9991c

pukkandan commented 3 years ago

280 already has a patch for this