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.
ERROR: Unable to extract video url [Pornhub.com] #12470
Comments
|
+1 |
1 similar comment
|
+1 |
|
+1 |
|
Old regexp is: New HTML, e.g., is:
The URL can be decoded pretty easily ("mediastring" var) but requires parsing javascript. The video URL doesn't require any cookies or particular user agent (tested with wget). |
|
I created a fix too. Seems you were faster @throawayagain123. |
|
|
|
BTW, is Pornhub still 720p max, or has anyone found a way for higher res? |
|
Higher resolution is only for valid subscription user as I know. |
|
THX for the quick fix. Now. How do I apply it? Surcouf. Newbie with experience. |
$ cd /path/to/youtube-dl--git
$ git pull && git checkout -b pornhub-issue-12470
$ curl -o youtube_dl/extractor/pornhub.py https://raw.githubusercontent.com/snpwr/youtube-dl/07e5efbcb24235a70a28a4eedb88dc1e69656a38/youtube_dl/extractor/pornhub.py
$ python ./setup.py install
$ youtube-dl <url> |
|
where will be in the next uptime? youtube-dl -U |
|
@szunyi No fix has been applied to master repository yet. Once that happens it may make it into an update. |
ISSUE: youtube-dl won't download videos or playlists from pornhub.com.