Using Windows 10 and Git Bash, since the last yt-dlp (pip) version using the scripts immediately closes the Git Bash window. For a split second it shows:
Experimenting on clean downloaded scripts and disabling yt-dlp config. Attempting to escape the exclamation mark with \ allows Git to stay open longer, but doesn't download. At the end it references:
ERROR Invalid filter part '\\!is_live '
Traceback (most recent call last):
File "C:\Users\Ari\AppData\Local\Programs\Python\Python310\lib\site-packages\yt_dlp\YoutubeDL.py", line 1518, in wrapper
return func(self, *args, **kwargs)
File "C:\Users\Ari\AppData\Local\Programs\Python\Python310\lib\site-packages\yt_dlp\YoutubeDL.py", line 1615, in __extract_info
return self.process_ie_result(ie_result, download, extra_info)
File "C:\Users\Ari\AppData\Local\Programs\Python\Python310\lib\site-packages\yt_dlp\YoutubeDL.py", line 1674, in process_ie_result
ie_result = self.process_video_result(ie_result, download=download)
File "C:\Users\Ari\AppData\Local\Programs\Python\Python310\lib\site-packages\yt_dlp\YoutubeDL.py", line 2686, in process_video_result
if self._match_entry(info_dict, incomplete=self._format_fields) is not None:
File "C:\Users\Ari\AppData\Local\Programs\Python\Python310\lib\site-packages\yt_dlp\YoutubeDL.py", line 1446, in _match_entry
reason = check_filter()
File "C:\Users\Ari\AppData\Local\Programs\Python\Python310\lib\site-packages\yt_dlp\YoutubeDL.py", line 1419, in check_filter
ret = match_filter(info_dict, incomplete=incomplete)
File "C:\Users\Ari\AppData\Local\Programs\Python\Python310\lib\site-packages\yt_dlp\utils.py", line 3929, in _match_func
if not filters or any(match_str(f, info_dict, incomplete) for f in filters):
File "C:\Users\Ari\AppData\Local\Programs\Python\Python310\lib\site-packages\yt_dlp\utils.py", line 3929, in <genexpr>
if not filters or any(match_str(f, info_dict, incomplete) for f in filters):
File "C:\Users\Ari\AppData\Local\Programs\Python\Python310\lib\site-packages\yt_dlp\utils.py", line 3909, in match_str
return all(
File "C:\Users\Ari\AppData\Local\Programs\Python\Python310\lib\site-packages\yt_dlp\utils.py", line 3910, in <genexpr>
_match_one(filter_part.replace(r'\&', '&'), dct, incomplete)
File "C:\Users\Ari\AppData\Local\Programs\Python\Python310\lib\site-packages\yt_dlp\utils.py", line 3899, in _match_one
raise ValueError('Invalid filter part %r' % filter_part)
ValueError: Invalid filter part '\\!is_live '
Using Windows 10 and Git Bash, since the last yt-dlp (pip) version using the scripts immediately closes the Git Bash window. For a split second it shows:
Experimenting on clean downloaded scripts and disabling yt-dlp config. Attempting to escape the exclamation mark with \ allows Git to stay open longer, but doesn't download. At the end it references:
Downloads fine without match-filter.