Open Cryosim opened 1 year ago
You didn't post a verbose log:
[debug] Command-line config: ['-v', 'https://matchtv.ru/biathlon/matchtvvideo_NI1938496_translation_Letnij_biatlon_Alfa_Bank_Kubok_Sodruzhestva_Sprint_Muzhchiny']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version nightly@2023.09.09.151504 [a006ce2b2] (linux_exe)
[debug] Python 3.10.12 (CPython x86_64 64bit) - Linux-6.4.12-surface-x86_64-with-glibc2.37 (OpenSSL 3.1.2 1 Aug 2023, glibc 2.37)
[debug] exe versions: ffmpeg 5.1.2 (setts), ffprobe 5.1.2, rtmpdump 2.4
[debug] Optional libraries: Cryptodome-3.18.0, brotli-1.1.0, certifi-2023.07.22, mutagen-1.47.0, sqlite3-2.6.0, websockets-11.0.3
[debug] Proxy map: {}
[debug] Loaded 1865 extractors
[generic] Extracting URL: https://matchtv.ru/biathlon/matchtvvideo_NI1938496_translation_Letnij_biatlon_Alfa_Bank_Kubok_Sodruzhestva_Sprint_Muzhchiny
[generic] matchtvvideo_NI1938496_translation_Letnij_biatlon_Alfa_Bank_Kubok_Sodruzhestva_Sprint_Muzhchiny: Downloading webpage
WARNING: [generic] Falling back on generic information extractor
[generic] matchtvvideo_NI1938496_translation_Letnij_biatlon_Alfa_Bank_Kubok_Sodruzhestva_Sprint_Muzhchiny: Extracting information
[debug] Looking for embeds
[debug] Identified a SportBox embed
[SportBox] Extracting URL: https://matchtv.ru/vdl/player/media/851766
[SportBox] 851766: Downloading webpage
ERROR: [SportBox] 851766: Unable to extract sources; 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 "yt_dlp/extractor/common.py", line 715, in extract
File "yt_dlp/extractor/sportbox.py", line 50, in _real_extract
File "yt_dlp/extractor/common.py", line 1263, in _search_regex
This issue should probably be renamed to [SportBox] Unable to extract source
Code for extraction
#apply to frame url
url=""
xmlData=urllib.request.urlopen(url).read()
m=re.search('data-config="config=(.+)\?', str(xmlData))
url=m.group(1)
url=url.replace('/feed/','/media/',1)+'.m3u8'
print(url)
DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE
Checklist
Region
Russia
Example URLs
https://matchtv.ru/biathlon/matchtvvideo_NI1938496_translation_Letnij_biatlon_Alfa_Bank_Kubok_Sodruzhestva_Sprint_Muzhchiny
Provide a description that is worded well enough to be understood
Hi. Can't download video from the sport channel Match tv. I watch in the browser, link was set to https://bl.video.matchtv.ru/media/playlist/api_free_6b1c8cc6a90843ff95ad6a511a3bc56c/17_851765/1080/28f467206d10afe4664f3bd2944e31f4/4849755248.m3u8
If i send this url to the yd-dlp, download only 44 mb part.
Provide verbose output that clearly demonstrates the problem
yt-dlp -vU <your command line>
)'verbose': True
toYoutubeDL
params instead[debug] Command-line config
) and insert it belowComplete Verbose Output