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

Custom Extractor - Get data from video #12542

Closed
tb3d opened this issue Mar 24, 2017 · 2 comments
Closed

Custom Extractor - Get data from video #12542

tb3d opened this issue Mar 24, 2017 · 2 comments

Comments

@tb3d
Copy link

@tb3d tb3d commented Mar 24, 2017

Hello, I am working on custom extractor and it's first thing, which I'm programming in Python.

When I open URL of video in my browser, video starts auto play. But when I get HTML code from extractor in "def _real_extract", I get only HTML, where video is not played, so I don't have any access to the video sources and subtitles. So, how can I "play" this video from Python and extract information from new HTML code?

Thanks! And sorry for english.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Mar 24, 2017

You can't play it without browser, What you should do is to reverse engineer browser's behavior and reproduce it as python code.

@dstftw dstftw closed this Mar 24, 2017
@tb3d
Copy link
Author

@tb3d tb3d commented Mar 24, 2017

Do you have some example code? Because I really don't know, how it everything works. :(

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.