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

gyao.yahoo.co.j URL was changed recently #23303

Closed
5 tasks done
rgamici opened this issue Dec 3, 2019 · 1 comment
Closed
5 tasks done

gyao.yahoo.co.j URL was changed recently #23303

rgamici opened this issue Dec 3, 2019 · 1 comment

Comments

@rgamici
Copy link

rgamici commented Dec 3, 2019

  • I'm reporting a broken site support
  • I've verified that I'm running youtube-dl version 2019.11.28
  • 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 searched the bugtracker for similar issues including closed ones

Verbose log

youtube-dl --verbose "https://gyao.yahoo.co.jp/title/%E6%95%99%E3%81%88%E3%81%A6%E3%82%82%E3%82%89%E3%81%86%E5%89%8D%E3%81%A8%E5%BE%8C/5bcd79c6-fe3d-476b-87cf-24f87210422b"
[debug] System config: []
[debug] User config: ['-f', 'bestvideo[height<=360]+bestaudio', '-o', '~/Desktop/%(title)s-%(id)s.%(ext)s']
[debug] Custom config: []
[debug] Command-line args: ['--verbose', 'https://gyao.yahoo.co.jp/title/%E6%95%99%E3%81%88%E3%81%A6%E3%82%82%E3%82%89%E3%81%86%E5%89%8D%E3%81%A8%E5%BE%8C/5bcd79c6-fe3d-476b-87cf-24f87210422b']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.11.28
[debug] Python version 3.7.2+ (CPython) - Linux-5.2.0-3-amd64-x86_64-with-debian-bullseye-sid
[debug] exe versions: ffmpeg 4.2.1-2, ffprobe 4.2.1-2, phantomjs 156109, rtmpdump 2.4
[debug] Proxy map: {}
[yahoo:gyao] 5bcd79c6-fe3d-476b-87cf-24f87210422b: Downloading JSON metadata
[download] Downloading playlist: 5bcd79c6-fe3d-476b-87cf-24f87210422b
[yahoo:gyao] playlist 5bcd79c6-fe3d-476b-87cf-24f87210422b: Collected 1 video ids (downloading 1 of them)
[download] Downloading video 1 of 1
[yahoo:gyao:player] 5de6227e-7054-4000-b242-964c34db937f: Downloading JSON metadata
[debug] Using fake IP 133.166.70.162 (JP) as X-Forwarded-For.
[brightcove:new] 6111600012001: Downloading webpage
[brightcove:new] 6111600012001: Downloading JSON metadata
ERROR: Unable to download JSON metadata: HTTP Error 401: Unauthorized (caused by <HTTPError 401: 'Unauthorized'>); 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.
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 627, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 2237, 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)

Description

Recently (last week?) the video's URL were changed on gyao.yahoo.co.jp.
They were gyao.yahoo.co.jp/episode/[episode-name/[hash] and now are gyao.yahoo.co.jp/title/[show-name]/[hash].
youtube-dl was able to get around the geo-restriction automatically.

@rgamici
Copy link
Author

rgamici commented Dec 3, 2019

Thank you.

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