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.
[xhamster] - "No video format found" with pending fix #25804 and possible workaround #26157
Comments
|
I can confirm this fixes the issue.
|
|
@TheRealDude2 - Send a pull request so the maintainer can fix it easy. |
Checklist
Verbose log
Description
I use a testing extractor with the pending fix #25804 [Xhamster] Updated regex to accommodate new video_id with letters .
I noticed a new problem today "No video formats found".
I adjusted line 139 in my test extractor and now it seems to work again for the moment.
r'window.initials\s*=\s*({.+?})\s*;\s*\n', webpage, 'initials',
to
r'window.initials\s*=\s*({.+?})\s*;\s*', webpage, 'initials',
The problem seems to be that on the page the initials no longer end with a new line.
Maybe the information will help someone to provide a fix. I suspect that there will be some further adjustments to be made here, as too much information may end up in the initials variable.