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

Trovo.live vods HTTP Error 403 #30909

Open
5 tasks done
yontorg opened this issue May 1, 2022 · 1 comment
Open
5 tasks done

Trovo.live vods HTTP Error 403 #30909

yontorg opened this issue May 1, 2022 · 1 comment
Labels
broken-IE problem with existing site extraction

Comments

@yontorg
Copy link

yontorg commented May 1, 2022

Checklist

  • I'm reporting a broken site support
  • I've verified that I'm running youtube-dl version 2021.12.17
  • 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 -v https://trovo.live/video/ltv-106492158_106492158_387702299779759599
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://trovo.live/video/ltv-106492158_106492158_387702299779759599']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.12.17
[debug] Python version 3.8.10 (CPython) - Linux-5.13.0-35-generic-x86_64-with-glibc2.29
[debug] exe versions: ffmpeg 4.2.4, ffprobe 4.2.4
[debug] Proxy map: {}
[TrovoVod] ltv-106492158_106492158_387702299779759599: Downloading JSON metadata
ERROR: Unable to download JSON metadata: HTTP Error 403: Forbidden (caused by <HTTPError 403: 'Forbidden'>); 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 634, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 2288, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/usr/lib/python3.8/urllib/request.py", line 531, in open
    response = meth(req, response)
  File "/usr/lib/python3.8/urllib/request.py", line 640, in http_response
    response = self.parent.error(
  File "/usr/lib/python3.8/urllib/request.py", line 569, in error
    return self._call_chain(*args)
  File "/usr/lib/python3.8/urllib/request.py", line 502, in _call_chain
    result = func(*args)
  File "/usr/lib/python3.8/urllib/request.py", line 649, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)

Description

VODs on the Trovo.live site are not downloading due to a 403 Forbidden error. I have included a valid VOD URL in the log above, but I haven't had success with any VOD on the site.

It seems that the test case URL in the trovo.py extractor code (https://trovo.live/video/ltv-100095501_100095501_1609596043) is returning 404 and could also be updated.

@dirkf
Copy link
Contributor

dirkf commented May 3, 2022

The API URLs used in the extractor aren't working. No similar APIs seem to be called when loading a video in the browser. However most of the extracted data, apart from the comment list, is available in the non-JS webpage.

@dirkf dirkf mentioned this issue Jun 22, 2022
7 tasks
@dirkf dirkf added the broken-IE problem with existing site extraction label Jan 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
broken-IE problem with existing site extraction
Projects
None yet
Development

No branches or pull requests

2 participants