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

Relink Dowloaded Page to Local Video #1853

Open
sirinath opened this issue Nov 29, 2013 · 5 comments
Open

Relink Dowloaded Page to Local Video #1853

sirinath opened this issue Nov 29, 2013 · 5 comments

Comments

@sirinath
Copy link

@sirinath sirinath commented Nov 29, 2013

If the save download option is selected the ability to link the downloaded pages to the local video will be great.

Update: Delete following. Opened a new issue. (#1857)

BTW, following 2 links fail.

http://www.youtube.com/playlist?list=PL0B0820169DCF0AD2
http://www.youtube.com/playlist?list=PLF6CAC63C615DB881

@phihag
Copy link
Contributor

@phihag phihag commented Nov 29, 2013

Please feel free to open multiple issues here for different issues. Otherwise, it becomes very difficult to track the progress. For what it's worth, I can download both playlists just fine. If the problem persists, please open a new issue and post the full output of youtube-dl when given the -v option.

As to the main request. I'm sorry, but I don't understand what you mean by link, or even the save download option. Can you elaborate?

@sirinath
Copy link
Author

@sirinath sirinath commented Nov 29, 2013

What I mean is when you download using: --write-pages have the ability to re create a browsable local copy of the site where the embedded videos pointing to locally saved videos.

@sirinath
Copy link
Author

@sirinath sirinath commented Nov 29, 2013

Basically a locally mirrored portion of the site which you can open in the browser and watch the videos. Perhaps you can use something like Scrapy (scrapy.org) to mirror the html part. HTML will need processing so the links and JS links are valid. Also any embedded video player links.

@phihag
Copy link
Contributor

@phihag phihag commented Nov 29, 2013

--write-pages is intended for debugging only. In any case, the original site will probably provide a bad experience with the video. For example, many websites use Flash/RTMP to display or request the video, and one of the reasons to use youtube-dl can be precisely because there are no open-source or, for some platforms, even no closed-source implementations of these techniques.

I can see the use for writing a HTML index, but that would probably be a new option. Mirroring the original website is almost certainly out of scope for youtube-dl and better solved with a separate application, since the mirroring and necessary modification is probably at least as complicated - if not more complicated - than the actual video download.

phihag added a commit that referenced this issue Nov 30, 2013
@sirinath
Copy link
Author

@sirinath sirinath commented Nov 30, 2013

May be a HTML index with thumbnails will do.

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.