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

404 on acast #21444

Closed
benoliver999 opened this issue Jun 18, 2019 · 5 comments
Closed

404 on acast #21444

benoliver999 opened this issue Jun 18, 2019 · 5 comments

Comments

@benoliver999
Copy link

This is the command I tried:

youtube-dl https://play.acast.com/s/theintelligencepodcast/a7a69868-ebe9-4950-8d13-8bac9642d622 --verbose

The output is:

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['https://play.acast.com/s/theintelligencepodcast/a7a69868-ebe9-4950-8d13-8bac9642d622', '--verbose']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.06.08
[debug] Python version 3.7.3 (CPython) - Linux-5.1.9-arch1-1-ARCH-x86_64-with-arch
[debug] exe versions: ffmpeg 4.1.3, ffprobe 4.1.3, rtmpdump 2.4
[debug] Proxy map: {}
[acast] a7a69868-ebe9-4950-8d13-8bac9642d622: Downloading JSON metadata
ERROR: Unable to download JSON metadata: HTTP Error 404: Not Found (caused by <HTTPError 404: 'Not Found'>); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
  File "/usr/lib/python3.7/site-packages/youtube_dl/extractor/common.py", line 627, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "/usr/lib/python3.7/site-packages/youtube_dl/YoutubeDL.py", line 2227, 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)

@kebabkalle
Copy link

You can use this instead, https://rss.acast.com/theintelligencepodcast

@ssixty
Copy link

ssixty commented Jun 30, 2019

Thanks for the rss tip, there are downsides sadly:

  • can't use --download-archive file as everything is detected as 'generic media'
  • other metadata like episode numbers, upload date etc. is not picked up

@biwubo would you be willing to look into a fix for acast extractor once again?

@benoliver999
Copy link
Author

benoliver999 commented Jul 1, 2019 via email

@biwubo
Copy link
Contributor

biwubo commented Jul 1, 2019

@ssixty Sorry for not being able to respond earlier, I looked into this briefly the day the issue was opened and was not able to find an elegant solution in a short time.

I see that @remitamine has merged a change closing this issue however for me one of the URLs in the test cases throws a 404 error even though it's playable in the browser. It's this one: https://play.acast.com/s/rattegangspodden/s04e09-styckmordet-i-helenelund-del-22 and it works without the change.

Just a heads up for now, I can take a look when I find the time.

@ssixty
Copy link

ssixty commented Sep 12, 2019

Thanks, everyone.

In addition to biwubo's note, trying a channel also gives a 404. (I'm not sure if I should open a separate issue)

user@server:~/tmp$ youtube-dl https://play.acast.com/s/theintelligencepodcast --verbose --ignore-config
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['https://play.acast.com/s/theintelligencepodcast', '--verbose', '--ignore-config']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.09.12.1
[debug] Python version 3.5.3 (CPython) - Linux-4.9.0-9-amd64-x86_64-with-debian-9.9
[debug] exe versions: ffmpeg 3.2.14-1, ffprobe 3.2.14-1
[debug] Proxy map: {}
[acast:channel] theintelligencepodcast: Downloading JSON metadata
ERROR: Unable to download JSON metadata: HTTP Error 404: Not Found (caused by <HTTPError 404: 'Not Found'>); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
  File "/usr/local/lib/python3.5/dist-packages/youtube_dl/extractor/common.py", line 627, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "/usr/local/lib/python3.5/dist-packages/youtube_dl/YoutubeDL.py", line 2229, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/usr/lib/python3.5/urllib/request.py", line 472, in open
    response = meth(req, response)
  File "/usr/lib/python3.5/urllib/request.py", line 582, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python3.5/urllib/request.py", line 510, in error
    return self._call_chain(*args)
  File "/usr/lib/python3.5/urllib/request.py", line 444, in _call_chain
    result = func(*args)
  File "/usr/lib/python3.5/urllib/request.py", line 590, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)

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

No branches or pull requests

5 participants