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

[sexdotcom] Add new extractor #22797

Closed
wants to merge 1 commit into from

Conversation

axelerometer
Copy link
Contributor

@axelerometer axelerometer commented Oct 22, 2019

Before submitting a pull request make sure you have:

In order to be accepted and merged into youtube-dl each piece of code must be in public domain or released under Unlicense. Check one of the following options:

  • I am the original author of this code and I am willing to release it under Unlicense
  • I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)

What is the purpose of your pull request?

  • Bug fix
  • Improvement
  • New extractor
  • New feature

Description of your pull request and other information

This PR implements an extractor for Sex.com.

Three different cases are handled:

  1. Most video pages use the Video.js framework. I extract the arguments of the JavaScript player.updateSrc() call to get the video details (one or two different formats)
  2. Some video pages include an iframe which embeds a video from another site, such as YouTube, XHamster, XVideos and possibly more.
  3. Also supports <img> tag for gifs or plain simple pictures.

This does not yet extract any metadata besides the essentials. I'd prefer to get the basic functionality in first and follow up with that in a separate PR.

Three different cases are handled:
1. Most video pages use the Video.js framework. I extract the arguments
   of the JavaScript `player.updateSrc()` call to get the video details
   (one or two different formats)
2. Some video pages include an iframe which embeds a video from another
   site, such as YouTube, XHamster, XVideos and possibly more.
3. Also supports `<img>` tag for gifs or plain simple pictures.

This does not yet extract any metadata besides the essentials.
@dstftw
Copy link
Collaborator

dstftw commented Nov 3, 2019

Covered by generic extractor.

@dstftw dstftw closed this Nov 3, 2019
@axelerometer
Copy link
Contributor Author

Covered by generic extractor.

No it isn't. The generic extractor downloads some random wrong video or an advertisement. Please reopen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants