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

Download doesn't work with timestamp in youtube link #13102

Closed
ghost opened this issue May 16, 2017 · 1 comment
Closed

Download doesn't work with timestamp in youtube link #13102

ghost opened this issue May 16, 2017 · 1 comment
Labels

Comments

@ghost
Copy link

@ghost ghost commented May 16, 2017

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 that [x])
  • Use Preview tab to see how your issue will actually look like

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

  • I've verified and I assure that I'm running youtube-dl 2017.05.14

Before submitting an issue make sure you have:

  • At least skimmed through README and most notably FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

  • 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 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.

https://www.youtube.com/watch?v=2Yh1IJLvKPM&t=3626s

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.

The problem starts like this:

I did a yt-audio alias in Linux:

alias yt-audio='youtube-dl --no-playlist --extract-audio --audio-format mp3 --audio-quality 0 --embed-thumbnail -o "/media/something/Stuff/Windows/Downloads/youtube-dl/audio/random/%(title)s.%(ext)s" '

The this is that while I listen to a song and I observe that I like, I shoot the < yt-audio link > command. Now, there are times when the timestamp remain in the link, looking like this:

https://www.youtube.com/watch?v=2Yh1IJLvKPM&t=3626s

And, it seems this one disturb my command and stops at [debug] without download.

Message I get after it hit: yt-audio https://www.youtube.com/watch?v=2Yh1IJLvKPM&t=3626s

something@something-HP-EliteBook-8540p:$ yt-audio https://www.youtube.com/watch?v=2Yh1IJLvKPM&t=3626s
[3] 27186
something@something-HP-EliteBook-8540p:
$ [debug] System config: []
[debug] User config: [u'-u', u'PRIVATE', u'-c', u'--newline', u'-v', u'--ignore-errors']
[debug] Custom config: []
[debug] Command-line args: [u'--no-playlist', u'--extract-audio', u'--audio-format', u'mp3', u'--audio-quality', u'0', u'--embed-thumbnail', u'-o', u'/media/something/Stuff/Windows/Downloads/youtube-dl/audio/random/%(title)s.%(ext)s', u'https://www.youtube.com/watch?v=2Yh1IJLvKPM']

It would be cool to eliminate the last &t=3626s timestamp automatically. Without it, the command works perfectly:)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.