Giter Club home page Giter Club logo

yt-dlp's People

Contributors

ashish0804 avatar atomicdryad avatar bashonly avatar blackjack4494 avatar coletdjnz avatar dstftw avatar elyse0 avatar filosottile avatar fstirlitz avatar gcmalloc avatar goggle avatar grub4k avatar hobbyistdev avatar iemejia avatar jaimemf avatar lesmiscore avatar mineplayerspe avatar nixxo avatar phihag avatar pukkandan avatar pulpe avatar remitamine avatar rg3 avatar rudloff avatar shirt-dev avatar tithen-firion avatar trox1972 avatar u-spec-png avatar xarantolus avatar yasoob avatar

Forkers

codynotfound

yt-dlp's Issues

[Feature Requests] Add --dependency-path

Checklist

  • I'm requesting a feature unrelated to a specific site
  • I've looked through the README
  • I've verified that I'm running yt-dlp version 2022.06.22.1 (update instructions) or later (specify commit)
  • I've searched the bugtracker for similar issues including closed ones. DO NOT post duplicates
  • I've read the guidelines for opening an issue

Description

The currrent yt-dlp only can specify --ffmpeg-location and the other downloader need to same path of yt-dlp or need in the PATH. This issue propose a new option --dependency-path that can extend --ffmpeg-location for another downloader or another dependency.
Example :
--dependency-path ffmpeg:<FFMPEG_PATH>, aria2c:<aria_path>, AtomicParsley:<atomicparsley_path>

We can even make this even further if we include plugin.Example:
--dependency-path plugin:<plugin1_path>,<plugin2_path>

Verbose log

No response

dailywire-fix

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

only mp3 is downloading. video is not downloading

Checklist

Region

No response

Provide a description that is worded well enough to be understood

only mp3 is downloading. video is not downloading

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

[debug] Command-line config: ['-o', '%(title)s.%(ext)s', 'https://www.dailywire.com/episode/the-matter-with-things-peterson-and-mc-gilchrist', '--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] Plugins: ['SamplePluginIE', 'SamplePluginPP']
[debug] Python 3.10.6 (CPython 64bit) - Linux-5.18.16-1165.native-x86_64-with-glibc2.36 (glibc 2.36)
[debug] Checking exe version: ffmpeg -bsfs
[debug] Checking exe version: ffprobe -bsfs
[debug] exe versions: ffmpeg 1ad802c (fdk,setts), ffprobe 1ad802c, 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
[Cookies] Searching for "cookies.sqlite":      1 files searc[debug] Extracting cookies from: "/home/g/.mozilla/firefox/fvwcddni.default-release/cookies.sqlite"
[Cookies] Extracted 1212 cookies from firefox
[debug] Proxy map: {}
[debug] [DailyWire] Extracting URL: https://www.dailywire.com/episode/the-matter-with-things-peterson-and-mc-gilchrist
[DailyWire] the-matter-with-things-peterson-and-mc-gilchrist: Downloading webpage
[DailyWire] the-matter-with-things-peterson-and-mc-gilchrist: Downloading JSON metadata
[DailyWire] the-matter-with-things-peterson-and-mc-gilchrist: Downloading graphql json
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec:vp9.2(10), acodec, filesize, fs_approx, tbr, vbr, abr, asr, proto, vext, aext, hasaud, source, id
[debug] Default format spec: bestvideo*+bestaudio/best
[info] cl6plol37r6ur0a26zsw6vlkn: Downloading 1 format(s): 0
[debug] Invoking http downloader on "https://cloudfront.dailywire.com/episodes/cl6plol37r6ur0a26zsw6vlkn/cl6plol3ar6ut0a265sfvjnj8-1660256234445-128k.mp3"
[download] Destination: The Matter with Things - Peterson and McGilchrist.mp3
[download] 100% of 104.20MiB in 00:13

Help me merge and fix what I made

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

  • I understand that I will be blocked if I remove or skip any mandatory* field

Checklist

  • I'm asking a question and not reporting a bug or requesting a feature
  • I've looked through the README
  • I've verified that I'm running yt-dlp version 2023.01.06 (update instructions) or later (specify commit)
  • I've searched the bugtracker for similar questions including closed ones. DO NOT post duplicates
  • I've read the guidelines for opening an issue

Please make sure the question is worded well enough to be understood

https://github.com/upintheairsheep/yt-dlp/blob/patch-9/yt_dlp/extractor/tiktok.py
Please merge and fix this code for tiktok comment

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

No response

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.