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

Can't save specific RTE shows but most work #18206

Closed
4 tasks
conorhub opened this issue Nov 16, 2018 · 0 comments
Closed
4 tasks

Can't save specific RTE shows but most work #18206

conorhub opened this issue Nov 16, 2018 · 0 comments

Comments

@conorhub
Copy link

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

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: [u'-v', u'https://www.rte.ie/player/ie/show/rte-news-six-one-30003249/10963667/']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2018.11.07
[debug] Python version 2.7.15 (CPython) - Darwin-17.7.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 4.0.2, ffprobe 4.0.2, rtmpdump 2.4
[debug] Proxy map: {}
[rte] 10964603: Downloading JSON metadata
ERROR: rte said: The content you are trying to view is not available. It may be restricted to another territory, or copyright has expired. (2)
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/rte.py", line 23, in _real_extract
    item_id)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 870, in _download_json
    expected_status=expected_status)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 848, in _download_json_handle
    expected_status=expected_status)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 638, in _download_webpage_handle
    urlh = self._request_webpage(url_or_request, video_id, note, errnote, fatal, data=data, headers=headers, query=query, expected_status=expected_status)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 623, in _request_webpage
    raise ExtractorError(errmsg, sys.exc_info()[2], cause=err)
ExtractorError: Unable to download JSON metadata: HTTP Error 404: NOT FOUND (caused by HTTPError()); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 792, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 508, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/rte.py", line 30, in _real_extract
    expected=True)
ExtractorError: rte said: The content you are trying to view is not available. It may be restricted to another territory, or copyright has expired. (2)

Description of your issue, suggested solution and other information

This should be straightforward to explain and relates to the existing support of video extraction from the site rte.ie.

Basically, I can save most shows fine, such as: https://www.rte.ie/player/ie/show/women-on-the-verge-30006446/10964653/

The issue is when I attempt to save the pre-recorded news broadcast (https://www.rte.ie/player/ie/show/rte-news-six-one-30003249/10963667/), where youtube-dl returns RTEs own error that: "The content you are trying to view is not available. It may be restricted to another territory, or copyright has expired." and will not save it.

I am in the territory required to be able to view these shows and can confirm so with an IP check.

I can view them fine on the sites own players. The stranger thing, still, is that shows that are geo-restricted work fine, but the news broadcasts, which I believe can be viewed worldwide, return this error message - which is why I think this is a small bug in the RTE extractor and perhaps an oversight as the news is not something that may have been tested.

I cannot see a difference in video format between the news and other shows but something is preventing them from saving with youtube-dl and it's not territorial in this case.

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

1 participant