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

Urgent Feature: Allow manual extractor selection/override #5159

Closed
TheBoroer opened this issue Mar 8, 2015 · 1 comment
Closed

Urgent Feature: Allow manual extractor selection/override #5159

TheBoroer opened this issue Mar 8, 2015 · 1 comment

Comments

@TheBoroer
Copy link

@TheBoroer TheBoroer commented Mar 8, 2015

Having the ability to manually tell youtube-dl what extractor to use while providing a link that may not be the URL the extractor expects.

For example:
youtube-dl --use-extractor 'youtube' -g http://www.blahblahblah.com/some_captcha_workaround.php?v=xxxxxxxxxxx
...would cause youtube-dl to treat the link as a youtube video url.

I need this feature to try to work on a captcha workaround by processing everything outside of youtube-dl and return the captcha-less video page's source code (it would be identical to the source that youtube-dl sees when there is no captcha).

Another cool upgraded or advanced use of this feature would be the ability feed/pipe the pure source code into youtube-dl after captcha processing or bypass.

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Mar 8, 2015

We would have to modify a lot the regexes to make it work and it wouldn't work because we end up downloading the page youtube.com/watch?v=<id> for all the input urls.
Note that since the source code of youtube-dl is freely available, you can download it and modify the youtube extractor for testing it.

See the reasons in #4551 to know why passing the webpage source as input is not possible (among others it won't work for playlists and for youtube videos we need at least two pages).

@jaimeMF jaimeMF closed this Mar 8, 2015
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
2 participants
You can’t perform that action at this time.