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

dailywire-fix #4

Open
8 of 9 tasks
nobodyatandnothing opened this issue Jul 18, 2022 · 2 comments
Open
8 of 9 tasks

dailywire-fix #4

nobodyatandnothing opened this issue Jul 18, 2022 · 2 comments

Comments

@nobodyatandnothing
Copy link

nobodyatandnothing commented Jul 18, 2022

Checklist

Region

No response

Provide a description that is worded well enough to be understood

404 error

Provide verbose output that clearly demonstrates the problem

  • Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
  • Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output

./yt-dlp -o '%(title)s.%(ext)s' 'https://www.dailywire.com/episode/biology-and-man-robert-trivers-and-dr-jordan-b-peterson' --cookies-from-browser firefox -v
[debug] Command-line config: ['-o', '%(title)s.%(ext)s', 'https://www.dailywire.com/episode/biology-and-man-robert-trivers-and-dr-jordan-b-peterson', '--cookies-from-browser', 'firefox', '-v']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version 2022.06.29 [9d339c41e] (zip)
[debug] Lazy loading extractors is disabled
[debug] Plugins: ['SamplePluginIE', 'SamplePluginPP']
[debug] Python 3.10.5 (CPython 64bit) - Linux-5.18.11-1159.native-x86_64-with-glibc2.35 (glibc 2.35)
[debug] Checking exe version: ffmpeg -bsfs
[debug] Checking exe version: ffprobe -bsfs
[debug] exe versions: ffmpeg d6a1e59 (fdk,setts), ffprobe d6a1e59, rtmpdump 2.4
[debug] Optional libraries: Cryptodome-3.15.0, brotli-1.0.9, certifi-2022.06.15, mutagen-1.45.1, secretstorage-3.3.2, sqlite3-2.6.0, websockets-10.3
[Cookies] Extracting cookies from firefox
[debug] Extracting cookies from: "/home/g/.mozilla/firefox/fvwcddni.default-release/cookies.sqlite"
[Cookies] Extracted 607 cookies from firefox
[debug] Proxy map: {}
[debug] [DailyWire] Extracting URL: https://www.dailywire.com/episode/biology-and-man-robert-trivers-and-dr-jordan-b-peterson
[DailyWire] biology-and-man-robert-trivers-and-dr-jordan-b-peterson: Downloading JSON metadata
ERROR: [DailyWire] biology-and-man-robert-trivers-and-dr-jordan-b-peterson: Unable to download JSON metadata: HTTP Error 404: Not Found (caused by <HTTPError 404: 'Not Found'>); please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
  File "/home/g/Desktop/yt-dlp/yt-dlp/yt_dlp/extractor/common.py", line 640, in extract
    ie_result = self._real_extract(url)
  File "/home/g/Desktop/yt-dlp/yt-dlp/yt_dlp/extractor/dailywire.py", line 134, in _real_extract
    slug, episode_info = self._get_json(url)
  File "/home/g/Desktop/yt-dlp/yt-dlp/yt_dlp/extractor/dailywire.py", line 26, in _get_json
    nextdata_api_json = self._download_json(
  File "/home/g/Desktop/yt-dlp/yt-dlp/yt_dlp/extractor/common.py", line 1002, in download_content
    res = getattr(self, download_handle.__name__)(url_or_request, video_id, **kwargs)
  File "/home/g/Desktop/yt-dlp/yt-dlp/yt_dlp/extractor/common.py", line 966, in download_handle
    res = self._download_webpage_handle(
  File "/home/g/Desktop/yt-dlp/yt-dlp/yt_dlp/extractor/common.py", line 834, 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 "/home/g/Desktop/yt-dlp/yt-dlp/yt_dlp/extractor/common.py", line 791, in _request_webpage
    raise ExtractorError(errmsg, cause=err)

  File "/home/g/Desktop/yt-dlp/yt-dlp/yt_dlp/extractor/common.py", line 773, in _request_webpage
    return self._downloader.urlopen(self._create_request(url_or_request, data, headers, query))
  File "/home/g/Desktop/yt-dlp/yt-dlp/yt_dlp/YoutubeDL.py", line 3596, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/usr/lib/python3.10/urllib/request.py", line 525, in open
    response = meth(req, response)
  File "/usr/lib/python3.10/urllib/request.py", line 634, in http_response
    response = self.parent.error(
  File "/usr/lib/python3.10/urllib/request.py", line 563, in error
    return self._call_chain(*args)
  File "/usr/lib/python3.10/urllib/request.py", line 496, in _call_chain
    result = func(*args)
  File "/usr/lib/python3.10/urllib/request.py", line 643, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 404: Not Found
@HobbyistDev
Copy link
Owner

HobbyistDev commented Jul 19, 2022

Will be fixed in #3, This link need login and the current extractor only scrape from webpage

@HobbyistDev
Copy link
Owner

HobbyistDev commented Jul 19, 2022

Hm, which one you used ? In #3 or from upstream ?. The extractor in #3 is broken, it's unstable

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

Successfully merging a pull request may close this issue.

2 participants