Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
TVP - proposed REGEX fix for tvp.py extractor #19249
Comments
|
Can you describe why this issue was flagged as closed/incomplete? |
Please follow the guide below
xinto all the boxes [ ] relevant to your issue (like this:[x])Make sure you are using the latest version: run
youtube-dl --versionand ensure your version is 2019.02.08. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.Before submitting an issue make sure you have:
What is the purpose of your issue?
bug report for Telewizja Polska (TVP)
As referenced in #7799, the REGEX logic is not working when pasting in video URLs.
Proposed fix:
https://regex101.com/r/aubLoI/4
This simply re-parses the film link to the
/sess/player/video/link format, with the numerical UUID of the video pasted onto the end of the link, which can then be processed byyoutube-dl. Exmaples provided at the link with the suggested REGEX, as well as test cases. As long as the link pasted is of thevod.tvp.pl/video/variety, it should use this REGEX to fix the parse and pull ofyoutube-dl.