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.
[Question] common _search_regex function always throws exception #15668
Comments
|
There is no code matching this regex at http://www.vol.at/blue-man-group/5593454 thus you are getting |
Make sure you are using the latest version: run
youtube-dl --versionand ensure your version is 2018.02.11. 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?
Description of your issue, suggested solution and other information
I am having trouble with common.py's _search_regex function.
Based on the description I can give it a pattern/regex, a string to search through and a code word for logging that is free to chose.
Furthermore it states that it takes the first matching group to work with. I just can't get this to work.
I've gone so far to blatantly search for a fixed url in the webpage: https://regex101.com/r/33L08o/1
The webpage is http://www.vol.at/blue-man-group/5593454
As you can see in the regex101.com link the first group that is detected is the url. But I still get an RegexNotFoundError/Exception.
My code: