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

Is it possible to provide html websource as argument or in ydl.extract_info?? #25260

Closed
tugceozgur opened this issue May 13, 2020 · 4 comments
Closed
Labels

Comments

@tugceozgur
Copy link

@tugceozgur tugceozgur commented May 13, 2020

It is not possible now to pass html webpage source to youtube_dl but would be great to find some workaround for that. Tried to manually pass the argument on ydl.extract_info(website) and related _real_extract functions and many other dependent ones, but since each file has slightly different implementation of getting page source, I stuck at some point. Is it possible to implement this option. Could help us since we are also parsing some paywalled articles?

@tugceozgur tugceozgur added the question label May 13, 2020
@dstftw
Copy link
Collaborator

@dstftw dstftw commented May 13, 2020

Setup local webserver and serve via local URL.

@dstftw dstftw closed this May 13, 2020
@tugceozgur
Copy link
Author

@tugceozgur tugceozgur commented May 13, 2020

I do not want the youtube_dl to download, request the URL. Instead just would like to pass the html dom tree. Would it prevent it or what will your suggestion actually does? Could you give me an example of implementation if possible? Thank you @dstftw

@dstftw
Copy link
Collaborator

@dstftw dstftw commented May 13, 2020

Again: it's not possible to pass HTML.

@tugceozgur
Copy link
Author

@tugceozgur tugceozgur commented May 13, 2020

Okay, good to know that the implementation is not easy maybe not possible. Thanks

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.