Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement extractor for eporner.com #3003

Closed
msmuenchen opened this issue May 28, 2014 · 2 comments
Closed

Implement extractor for eporner.com #3003

msmuenchen opened this issue May 28, 2014 · 2 comments

Comments

@msmuenchen
Copy link
Contributor

@msmuenchen msmuenchen commented May 28, 2014

Hi all,

I dont speak python well enough but I can tell you how to build an extractor for porn site eporner.com (all links NSFW):

  1. assume URL http://www.eporner.com/hd-porn/181972/Cum-In-Amateur-Pussy/ (all links eporner.com/* are valid)
  2. take the DOM of this page, look for a script tag with src=(.*)/config5/(.*). If not found, exit and error.
  3. fetch this script, do a preg_match('/sources\:(.*)tracks\:/s') on it. This gives you a JSON-like (but not valid JSON!!!) object containing the single movies
  4. in this pseudo JSON, execute a preg_match_all('@file: \\"(.*)\\"@isU'). The higher-bitrate files are usually the first, the lowest quality the last
  5. fetch the selected video file, using the URL from step 1) as referer. This is mandatory or you will get hundreds of megabytes of "Watch this video online on eporner.com" garbage.

If you have any questions just reply.

@peugeot
Copy link
Contributor

@peugeot peugeot commented Sep 1, 2014

added since last release: 60864b313bca853eef6b8de89dce27301287ba0c

@phihag
Copy link
Contributor

@phihag phihag commented Sep 1, 2014

Thanks to @peugeot, support for this site has been added in youtube-dl 2014.09.01. Type youtube-dl -U to update.

@phihag phihag closed this Sep 1, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.