aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tests
diff options
context:
space:
mode:
authorgarret <garret@airmail.cc>2023-05-08 17:36:25 +0100
committergarret <garret@airmail.cc>2023-05-08 17:36:56 +0100
commit9fa2b91f0bde316166413593bb8d6ef0e319587d (patch)
tree885c3cadfcc667810bbda7f16fda5d2a23d23569 /tests
parent88dabf2506d5d5421fe2223c6a561d4c9adcafff (diff)
downloadyt-dlp-rajiko-9fa2b91f0bde316166413593bb8d6ef0e319587d.tar.gz
yt-dlp-rajiko-9fa2b91f0bde316166413593bb8d6ef0e319587d.tar.bz2
yt-dlp-rajiko-9fa2b91f0bde316166413593bb8d6ef0e319587d.zip
make BaseIE private
prevents the plugin thing from trying to load it as an extractor error this prevents: Traceback (most recent call last): File "/home/g/Downloads/yt-dlp/test/test_download.py", line 160, in test_template res_dict = ydl.extract_info( File "/home/g/Downloads/yt-dlp/yt_dlp/YoutubeDL.py", line 1508, in extract_info if not ie.suitable(url): File "/home/g/Downloads/yt-dlp/yt_dlp/extractor/common.py", line 563, in suitable return cls._match_valid_url(url) is not None File "/home/g/Downloads/yt-dlp/yt_dlp/extractor/common.py", line 555, in _match_valid_url cls._VALID_URL_RE = re.compile(cls._VALID_URL) File "/usr/lib/python3.10/re.py", line 251, in compile return _compile(pattern, flags) File "/usr/lib/python3.10/re.py", line 302, in _compile raise TypeError("first argument must be string or compiled pattern") TypeError: first argument must be string or compiled pattern (BaseIE doesnt have _VALID_URL, so it fails. If I add one, it wants a _real_extract)
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions