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

[youtube] Problem with extract the audio from some url #24884

Closed
GetPHP-IR opened this issue Apr 19, 2020 · 0 comments
Closed

[youtube] Problem with extract the audio from some url #24884

GetPHP-IR opened this issue Apr 19, 2020 · 0 comments

Comments

@GetPHP-IR
Copy link

@GetPHP-IR GetPHP-IR commented Apr 19, 2020

Checklist

  • I'm reporting a broken site support issue
  • I've checked that all provided URLs are alive and playable in a browser
  • I've checked that all URLs and arguments with special characters are properly quoted or escaped
  • I've verified that I'm running youtube-dl version 2020.03.24
  • I've searched the bugtracker for similar bug reports including closed ones
  • I've read bugs section in FAQ

Verbose log

[youtube] 3yTwzx4SUOY: Downloading webpage
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-f', '160+140/best', '--no-progress', '--recode-video', 'mp4', '--cookies', 'yt-cookies.txt', '-v', '--postprocessor-args', '-vcodec copy', '-ic', '-o', '/home/ytbot/files/12/Nicolas Germano - Si.%(ext)s', 'https://youtu.be/3yTwzx4SUOY', '--proxy', 'https://hideaddress:12345']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2020.03.24
[debug] Python version 3.7.7 (CPython) - Linux-4.15.0-96-generic-x86_64-with-Ubuntu-18.04-bionic
[debug] exe versions: ffmpeg 3.4.6, ffprobe 3.4.6
[debug] Proxy map: {'http': 'https://hideaddress:12345', 'https': 'https://hideaddress:12345'}
[youtube] 3yTwzx4SUOY: Downloading webpage
[youtube] {18} signature length 108, html5 player vflset
[youtube] {137} signature length 108, html5 player vflset
[youtube] {248} signature length 108, html5 player vflset
[youtube] {299} signature length 104, html5 player vflset
[youtube] {303} signature length 108, html5 player vflset
[youtube] {399} signature length 108, html5 player vflset
[youtube] {136} signature length 108, html5 player vflset
[youtube] {247} signature length 108, html5 player vflset
[youtube] {298} signature length 104, html5 player vflset
[youtube] {302} signature length 108, html5 player vflset
[youtube] {398} signature length 108, html5 player vflset
[youtube] {135} signature length 108, html5 player vflset
[youtube] {244} signature length 104, html5 player vflset
[youtube] {397} signature length 104, html5 player vflset
[youtube] {134} signature length 108, html5 player vflset
[youtube] {243} signature length 104, html5 player vflset
[youtube] {396} signature length 104, html5 player vflset
[youtube] {133} signature length 108, html5 player vflset
[youtube] {242} signature length 108, html5 player vflset
[youtube] {395} signature length 108, html5 player vflset
[youtube] {160} signature length 108, html5 player vflset
[youtube] {278} signature length 108, html5 player vflset
[youtube] {394} signature length 104, html5 player vflset
[youtube] {140} signature length 108, html5 player vflset
[youtube] {249} signature length 108, html5 player vflset
[youtube] {250} signature length 104, html5 player vflset
[youtube] {251} signature length 108, html5 player vflset
[debug] Invoking downloader on 'https://r5---sn-5hnekn7k.googlevideo.com/videoplayback?expire=1587349628&ei=HLScXpTzMoGC1gLFvKvgAQ&ip=121.0.51.5&id=o-ALxWaPEOEOD2bE91ebvpfy7UrenRI1cSi7LRUXxAQmvY&itag=160&aitags=133%2C134%2C135%2C136%2C137%2C160%2C242%2C243%2C244%2C247%2C248%2C278%2C298%2C299%2C302%2C303%2C394%2C395%2C396%2C397%2C398%2C399&source=youtube&requiressl=yes&mh=uG&mm=31%2C29&mn=sn-5hnekn7k%2Csn-5hne6nlk&ms=au%2Crdu&mv=m&mvi=4&pl=24&initcwndbps=325000&vprv=1&mime=video%2Fmp4&gir=yes&clen=1564811&dur=231.531&lmt=1580846699680688&mt=1587327932&fvip=5&keepalive=yes&c=WEB&txp=5535432&sparams=expire%2Cei%2Cip%2Cid%2Caitags%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cgir%2Cclen%2Cdur%2Clmt&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=ALrAebAwRgIhAJjs14cbJYbA7j7HzJnAIPpREph2VBk_s_xSCGejxqgaAiEA4VOQmWOln8BIJ4iMKwclm_3PMk33fYptzR3jEPSQdgg%3D&sig=AJpPlLswRQIhANU66E1oA7pGIIeYesMlP9iVDJavgqPp=6gJMgUOFByJAiA6NnNe1==cs9c1qcoGlCJygzlKQ41co3zG2L9QhVmj&ratebypass=yes'
ERROR: unable to download video data: HTTP Error 403: Forbidden
Traceback (most recent call last):
  File "/home/ytbot-env/lib/python3.7/site-packages/youtube_dl/YoutubeDL.py", line 1920, in process_info
    partial_success = dl(fname, new_info)
  File "/home/ytbot-env/lib/python3.7/site-packages/youtube_dl/YoutubeDL.py", line 1865, in dl
    return fd.download(name, info)
  File "/home/ytbot-env/lib/python3.7/site-packages/youtube_dl/downloader/common.py", line 366, in download
    return self.real_download(filename, info_dict)
  File "/home/ytbot-env/lib/python3.7/site-packages/youtube_dl/downloader/http.py", line 341, in real_download
    establish_connection()
  File "/home/ytbot-env/lib/python3.7/site-packages/youtube_dl/downloader/http.py", line 109, in establish_connection
    ctx.data = self.ydl.urlopen(request)
  File "/home/ytbot-env/lib/python3.7/site-packages/youtube_dl/YoutubeDL.py", line 2238, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/usr/lib/python3.7/urllib/request.py", line 531, in open
    response = meth(req, response)
  File "/usr/lib/python3.7/urllib/request.py", line 641, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python3.7/urllib/request.py", line 569, in error
    return self._call_chain(*args)
  File "/usr/lib/python3.7/urllib/request.py", line 503, in _call_chain
    result = func(*args)
  File "/usr/lib/python3.7/urllib/request.py", line 649, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 403: Forbidden

Description

The problem occurs only in some urls like this one:
https://youtu.be/3yTwzx4SUOY

@GetPHP-IR GetPHP-IR closed this Apr 19, 2020
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
1 participant
You can’t perform that action at this time.