Giter Club home page Giter Club logo

ytdlp-plugins's People

Contributors

flashdagger avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

ytdlp-plugins's Issues

auf 1 broke again

xxx@xxx:~/bin $ ytdlp-plugins -F -v https://auf1.tv/nachrichten-auf1/nachrichten-auf1-vom-15-dezember-2022
[debug] Command-line config: ['-F', '-v', 'https://auf1.tv/nachrichten-auf1/nachrichten-auf1-vom-15-dezember-2022']
[debug] Loaded 6 plugins which are not part of yt-dlp. Use at your own risk.
[debug] [auf1:radio] via 'ytdlp_plugins.extractor.auf1.Auf1RadioIE' (v2022.11.28)
[debug] [auf1] via 'ytdlp_plugins.extractor.auf1.Auf1IE' (v2022.11.28)
[debug] [pm-wissen:search] via 'ytdlp_plugins.extractor.servustv.PmWissenSearchIE' (v2022.11.15)
[debug] [pm-wissen] via 'ytdlp_plugins.extractor.servustv.PmWissenIE' (v2022.11.15)
[debug] [servustv:search] via 'ytdlp_plugins.extractor.servustv.ServusSearchIE' (v2022.11.15)
[debug] [servustv] via 'ytdlp_plugins.extractor.servustv.ServusTVIE' (v2022.11.15)
[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.11.11 [8b64402] (pip)
[debug] Python 3.9.2 (CPython x86_64 64bit) - Linux-5.18.0-0.bpo.1-amd64-x86_64-with-glibc2.31 (OpenSSL 1.1.1n 15 Mar 2022, glibc 2.31)
[debug] exe versions: ffmpeg 4.3.5-0, ffprobe 4.3.5-0, phantomjs ., rtmpdump 2.4
[debug] Optional libraries: Cryptodome-3.14.1, brotli-1.0.9, certifi-2020.06.20, mutagen-1.45.1, pyxattr-0.7.2, sqlite3-2.6.0, websockets-10.2
[debug] Proxy map: {}
[debug] Loaded 1729 extractors
[debug] [auf1] Extracting URL: https://auf1.tv/nachrichten-auf1/nachrichten-auf1-vom-15-dezember-2022
[auf1] nachrichten-auf1-vom-15-dezember-2022: Downloading JSON metadata
WARNING: [auf1] nachrichten-auf1-vom-15-dezember-2022: Unsupported URL: https://auf1.tv/nachrichten-auf1/nachrichten-auf1-vom-15-dezember-2022
[auf1] nachrichten-auf1-vom-15-dezember-2022: Downloading webpage
ERROR: [auf1] nachrichten-auf1-vom-15-dezember-2022: Unable to extract payload url
File "/usr/local/lib/python3.9/dist-packages/yt_dlp/extractor/common.py", line 674, in extract
ie_result = self._real_extract(url)
File "/usr/local/lib/python3.9/dist-packages/ytdlp_plugins/extractor/auf1.py", line 287, in _real_extract
metadata = self._metadata(url, page_id=page_id, method="payloadjs")
File "/usr/local/lib/python3.9/dist-packages/ytdlp_plugins/extractor/auf1.py", line 275, in _metadata
payload = self._payloadjs(url, page_id)
File "/usr/local/lib/python3.9/dist-packages/ytdlp_plugins/extractor/auf1.py", line 240, in _payloadjs
payloadjs_url = self._search_regex(
File "/usr/local/lib/python3.9/dist-packages/yt_dlp/extractor/common.py", line 1228, in _search_regex
raise RegexNotFoundError('Unable to extract %s' % _name)

missing formats due to AUF1 API change

last successful download 13.dez.2023

hey, They changed their API again ๐Ÿ˜’

Linux xxxxxxxxxx 5.15.131-1-pve #1 SMP PVE 5.15.131-2 (2023-11-14T11:32Z) x86_64 GNU/Linux

yt-dlp -v https://auf1.tv/das-grosse-interview/alice-weidel-in-deutschland-wird-politik-gegen-das-deutsche-volk-gemacht
[debug] Command-line config: ['-v', 'https://auf1.tv/das-grosse-interview/alice-weidel-in-deutschland-wird-politik-gegen-das-deutsche-volk-gemacht']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version [email protected] from yt-dlp/yt-dlp [24f827875] (pip)
[debug] Python 3.9.2 (CPython x86_64 64bit) - Linux-5.15.131-1-pve-x86_64-with-glibc2.31 (OpenSSL 1.1.1w  11 Sep 2023, glibc 2.31)
[debug] exe versions: ffmpeg 4.3.6-0, ffprobe 4.3.6-0, phantomjs broken, rtmpdump 2.4
[debug] Optional libraries: Cryptodome-3.14.1, brotli-1.0.9, certifi-2020.06.20, mutagen-1.45.1, pyxattr-0.7.2, requests-2.31.0, secretstorage-3.3.3, sqlite3-3.34.1, urllib3-2.1.0, websockets-10.2
[debug] Proxy map: {}
[debug] Request Handlers: urllib, requests
[debug] Extractor Plugins: Auf1IE, Auf1RadioIE, PmWissenIE, PmWissenSearchIE, ServusSearchIE, ServusTVIE
[debug] Plugin directories: ['/usr/local/lib/python3.9/dist-packages/yt_dlp_plugins']
[debug] Loaded 1907 extractors
[auf1] Extracting URL: https://auf1.tv/das-grosse-interview/alice-weidel-in-deutschland-wird-politik-gegen-das-deutsche-volk-gemacht
[auf1] alice-weidel-in-deutschland-wird-politik-gegen-das-deutsche-volk-gemacht: Downloading JSON metadata
ERROR: [auf1] alice-weidel-in-deutschland-wird-politik-gegen-das-deutsche-volk-gemacht: No video formats 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
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/dist-packages/yt_dlp/YoutubeDL.py", line 1567, in wrapper
    return func(self, *args, **kwargs)
  File "/usr/local/lib/python3.9/dist-packages/yt_dlp/YoutubeDL.py", line 1723, in __extract_info
    return self.process_ie_result(ie_result, download, extra_info)
  File "/usr/local/lib/python3.9/dist-packages/yt_dlp/YoutubeDL.py", line 1782, in process_ie_result
    ie_result = self.process_video_result(ie_result, download=download)
  File "/usr/local/lib/python3.9/dist-packages/yt_dlp/YoutubeDL.py", line 2751, in process_video_result
    self.raise_no_formats(info_dict)
  File "/usr/local/lib/python3.9/dist-packages/yt_dlp/YoutubeDL.py", line 1076, in raise_no_formats
    raise ExtractorError(msg, video_id=info['id'], ie=info['extractor'],
yt_dlp.utils.ExtractorError: [auf1] alice-weidel-in-deutschland-wird-politik-gegen-das-deutsche-volk-gemacht: No video formats 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

How does it work?

Thanks for creating this project! I'm curious how it works - specifically, what makes it affect the list of extractors that yt-dlp can see. Could you point me to the piece of code (or setup configuration) that extends an already installed yt-dlp binary, adding new code? I could use this monkey-patching capability in other projects too.

auf1 is broken

Linux xxxxxxxxxx 5.18.0-0.bpo.1-amd64 #1 SMP PREEMPT_DYNAMIC Debian 5.18.2-1~bpo11+1 (2022-06-14) x86_64 GNU/Linux

ytdlp-plugins -v
[debug] Command-line config: ['-v']
[debug] Loaded 3 plugins which are not part of yt-dlp. Use at your own risk.
[debug] [auf1] via 'ytdlp_plugins.extractor.auf1.Auf1IE' (v2022.05.06)
[debug] [servustv:search] via 'ytdlp_plugins.extractor.servustv.ServusSearchIE' (v2022.07.17)
[debug] [servustv] via 'ytdlp_plugins.extractor.servustv.ServusTVIE' (v2022.07.17)
[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.09.01 [5d7c7d6] (pip)
[debug] Python 3.9.2 (CPython 64bit) - Linux-5.18.0-0.bpo.1-amd64-x86_64-with-glibc2.31 (glibc 2.31)
[debug] Checking exe version: ffmpeg -bsfs
[debug] Checking exe version: ffprobe -bsfs
[debug] exe versions: ffmpeg 4.3.4-0, ffprobe 4.3.4-0, phantomjs ., rtmpdump 2.4
[debug] Optional libraries: Cryptodome-3.14.1, brotli-1.0.9, certifi-2020.06.20, mutagen-1.45.1, pyxattr-0.7.2, sqlite3-2.6.0, websockets-10.2
[debug] Proxy map: {}
[debug] Loaded 1673 extractors

Usage: ytdlp-plugins [OPTIONS] URL [URL...]

ytdlp-plugins: error: You must provide at least one URL.
Type yt-dlp --help to see a list of all options.

ytdlp-plugins https://auf1.tv/nachrichten-auf1/nachrichten-auf1-vom-15-september-2022/
[auf1] nachrichten-auf1-vom-15-september-2022: Downloading JSON metadata
WARNING: [auf1] nachrichten-auf1-vom-15-september-2022: Unsupported URL: https://auf1.tv/nachrichten-auf1/nachrichten-auf1-vom-15-september-2022/
[auf1] nachrichten-auf1-vom-15-september-2022: Downloading webpage
[auf1] nachrichten-auf1-vom-15-september-2022: Downloading payload.js
ERROR: [auf1] nachrichten-auf1-vom-15-september-2022: Unable to extract payloadjs

missing formats due to auf1 API change

Hello :)

last successful download 06.sep.2023

Linux XXXXXXXXX 5.10.0-23-amd64 #1 SMP Debian 5.10.179-1 (2023-05-12) x86_64 GNU/Linux

ytdlp-plugins -v https://auf1.tv/nachrichten-auf1/nachrichten-auf1-vom-14-september-2023
[debug] Command-line config: ['-v', 'https://auf1.tv/nachrichten-auf1/nachrichten-auf1-vom-14-september-2023']
[debug] ytdlp-plugins (v2023.01.11) loaded 10 plugins which are not part of yt-dlp. Use at your own risk.
[debug]  [auf1:radio]       via 'yt_dlp_plugins.extractor.auf1.Auf1RadioIE'          (v2023.07.10)
[debug]  [auf1]             via 'yt_dlp_plugins.extractor.auf1.Auf1IE'               (v2023.07.10)
[debug]  [d.tube:query]     via 'yt_dlp_plugins.extractor.dtube.DTubeQueryPluginIE'  (v2023.06.03)
[debug]  [d.tube:search]    via 'yt_dlp_plugins.extractor.dtube.DTubeSearchPluginIE' (v2023.06.03)
[debug]  [d.tube:user]      via 'yt_dlp_plugins.extractor.dtube.DTubeUserPluginIE'   (v2023.06.03)
[debug]  [d.tube]           via 'yt_dlp_plugins.extractor.dtube.DTubePluginIE'       (v2023.06.03)
[debug]  [pm-wissen:search] via 'yt_dlp_plugins.extractor.servustv.PmWissenSearchIE' (v2023.01.08)
[debug]  [pm-wissen]        via 'yt_dlp_plugins.extractor.servustv.PmWissenIE'       (v2023.01.08)
[debug]  [servustv:search]  via 'yt_dlp_plugins.extractor.servustv.ServusSearchIE'   (v2023.01.08)
[debug]  [servustv]         via 'yt_dlp_plugins.extractor.servustv.ServusTVIE'       (v2023.01.08)
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version [email protected] [b532a3481] (pip)
[debug] Python 3.9.2 (CPython x86_64 64bit) - Linux-5.10.0-23-amd64-x86_64-with-glibc2.31 (OpenSSL 1.1.1n  15 Mar 2022, glibc 2.31)
[debug] exe versions: ffmpeg 4.3.6-0, ffprobe 4.3.6-0, phantomjs broken, rtmpdump 2.4
[debug] Optional libraries: Cryptodome-3.14.1, brotli-1.0.9, certifi-2020.06.20, mutagen-1.45.1, pyxattr-0.7.2, sqlite3-2.6.0, websockets-10.2
[debug] Proxy map: {}
[debug] Extractor Plugins: Auf1IE, Auf1RadioIE, DTubePluginIE, DTubeQueryPluginIE, DTubeSearchPluginIE, DTubeUserPluginIE, PmWissenIE, PmWissenSearchIE, ServusSearchIE, ServusTVIE
[debug] Plugin directories: ['/usr/local/lib/python3.9/dist-packages/yt_dlp_plugins']
[debug] Loaded 1865 extractors
[auf1] Extracting URL: https://auf1.tv/nachrichten-auf1/nachrichten-auf1-vom-14-september-2023
[auf1] nachrichten-auf1-vom-14-september-2023: Downloading JSON metadata
ERROR: [auf1] nachrichten-auf1-vom-14-september-2023: No video formats 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
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/dist-packages/yt_dlp/YoutubeDL.py", line 1560, in wrapper
    return func(self, *args, **kwargs)
  File "/usr/local/lib/python3.9/dist-packages/yt_dlp/YoutubeDL.py", line 1709, in __extract_info
    return self.process_ie_result(ie_result, download, extra_info)
  File "/usr/local/lib/python3.9/dist-packages/yt_dlp/YoutubeDL.py", line 1768, in process_ie_result
    ie_result = self.process_video_result(ie_result, download=download)
  File "/usr/local/lib/python3.9/dist-packages/yt_dlp/YoutubeDL.py", line 2732, in process_video_result
    self.raise_no_formats(info_dict)
  File "/usr/local/lib/python3.9/dist-packages/yt_dlp/YoutubeDL.py", line 1073, in raise_no_formats
    raise ExtractorError(msg, video_id=info['id'], ie=info['extractor'],
yt_dlp.utils.ExtractorError: [auf1] nachrichten-auf1-vom-14-september-2023: No video formats 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

ServusTv plugin question

Hello and thank you so much for your cool plugins.
I've got a rather newbie and probably stupid question here form an average command line user.

I tried to adapt servusTVplugin for my local machine yt-dlp build.
Downloaded servustv.py, moved it to yt-dlp/extactors, edited extractors.py and the actual servustv.py file a bit to match paths for .common and ..utils, basically made all the edits needed including a couple methods to utils.py...

However, when trying to compile I'm getting this error below:

/usr/bin/env python3 devscripts/make_lazy_extractors.py yt_dlp/extractor/lazy_extractors.py
Traceback (most recent call last):
File "/yt-dlp/devscripts/make_lazy_extractors.py", line 125, in
main()
File "/yt-dlp/devscripts/make_lazy_extractors.py", line 38, in main
module_src = '\n'.join((
File "/yt-dlp/devscripts/make_lazy_extractors.py", line 79, in build_ies
yield build_lazy_ie(ie, ie.name, attr_base)
File "/yt-dlp/devscripts/make_lazy_extractors.py", line 121, in build_lazy_ie
return s + '\n'.join(extra_ie_code(ie, attr_base))
File "/yt-dlp/devscripts/make_lazy_extractors.py", line 65, in extra_ie_code
val = getattr(ie, var)
File "/yt_dlp/utils.py", line 5348, in get
return self.func(cls)
File "/yt-dlp/yt_dlp/extractor/common.py", line 3649, in age_limit
return max(traverse_obj(
TypeError: '>' not supported between instances of 'tuple' and 'int'
make: *** [yt_dlp/extractor/lazy_extractors.py] Error 1

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.