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

Cannot download all embedded videos when they're from multiple sources #17265

Closed
4 tasks
andonagio opened this issue Aug 18, 2018 · 2 comments
Closed
4 tasks

Comments

@andonagio
Copy link

andonagio commented Aug 18, 2018

Please follow the guide below

  • You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
  • Put an x into all the boxes [ ] relevant to your issue (like this: [x])
  • Use the Preview tab to see what your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2018.08.04. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

  • [ X] I've verified and I assure that I'm running youtube-dl 2018.08.04

Before submitting an issue make sure you have:

  • [X ] At least skimmed through the README, most notably the FAQ and BUGS sections
  • [ X] Searched the bugtracker for similar issues including closed ones
  • [ X] Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

  • [ X] Bug report (encountered problems with youtube-dl)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue


If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:

Add the -v flag to your command line you run youtube-dl with (youtube-dl -v <your command line>), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', '--get-filename', '-o', '%(title)s', 'testfile.html']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2018.08.04
[debug] Python version 3.4.3 (CPython) - Linux-3.10.0-693.11.6.1.ELK.el6.x86_64-x86_64-with-glibc2.9
[debug] exe versions: none
[debug] Proxy map: {}
WARNING: Falling back on generic information extractor.
WARNING: Unable to download JSON metadata: HTTP Error 403: Forbidden
[debug] Default format spec: bestvideo+bestaudio/best
Robotype 3 - Sujigen, Mojigen, and 7x7.

...
<end of log>

If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):

Note that youtube-dl does not support sites dedicated to copyright infringement. In order for site support request to be accepted all provided example URLs should not violate any copyrights.


Description of your issue, suggested solution and other information

Explanation of your issue in arbitrary form goes here. Please make sure the description is worded well enough to be understood. Provide as much context and examples as possible.
If work on your issue requires account credentials please provide them or explain how one can obtain them.

youtube-dl does not recognize all of the embedded videos in a webpage when those videos are from different sources. My testfile.html looks like this:

<iframe allowfullscreen frameborder="0" height="349" src="https://www.youtube.com/embed/t83OovAxcCY" width="620"></iframe>
<iframe allowfullscreen frameborder="0" height="349" src="https://www.youtube.com/embed/HmTGKTFpCxM" width="620"></iframe>
<iframe allowfullscreen frameborder="0" height="360" src="https://player.vimeo.com/video/243823280" width="640"></iframe>

If I remove the iframe referencing the Vimeo file, youtube-dl gives me the two YouTube files, i.e.

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', '--get-filename', '-o', '%(title)s', 'testfile.html']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2018.08.04
[debug] Python version 3.4.3 (CPython) - Linux-3.10.0-693.11.6.1.ELK.el6.x86_64-x86_64-with-glibc2.9
[debug] exe versions: none
[debug] Proxy map: {}
WARNING: Falling back on generic information extractor.
[debug] Default format spec: bestvideo+bestaudio/best
Learning Interactions from Natural Language Instruction and Demonstration
[debug] Default format spec: bestvideo+bestaudio/best
Sado Robotics 151A ver2

. If I include the Vimeo file, youtube-dl gives me just the Vimeo file and ignores the two YouTube files, i.e.

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', '--get-filename', '-o', '%(title)s', 'testfile.html']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2018.08.04
[debug] Python version 3.4.3 (CPython) - Linux-3.10.0-693.11.6.1.ELK.el6.x86_64-x86_64-with-glibc2.9
[debug] exe versions: none
[debug] Proxy map: {}
WARNING: Falling back on generic information extractor.
WARNING: Unable to download JSON metadata: HTTP Error 403: Forbidden
[debug] Default format spec: bestvideo+bestaudio/best
Robotype 3 - Sujigen, Mojigen, and 7x7.

Is there a way for me to download both the YouTube files and the Vimeo file all at once? Please let me know.

@dstftw
Copy link
Collaborator

dstftw commented Aug 18, 2018

Not possible.

@andonagio
Copy link
Author

Okay, it's good to know this is not possible. However, I do have a few follow-up questions:

  • Would somebody please help me understand why it's not possible?
  • If it's not possible, would it be possible to give preference to the YouTube videos over the Vimeo video?
  • I noticed the "duplicate" tag. Is there another discussion of this issue elsewhere that I overlooked? If so, I apologize.

Please let me know. Thanks!

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

No branches or pull requests

2 participants