speed up comments and channel extraction by disabling format test

This commit is contained in:
simon 2023-03-24 10:21:38 +07:00
parent df9a52a8f2
commit 81701df1c7
No known key found for this signature in database
GPG Key ID: 2C15AA5E89985DD4
2 changed files with 2 additions and 0 deletions

View File

@ -60,6 +60,7 @@ class Comments:
comment_sort = self.config["downloads"]["comment_sort"]
yt_obs = {
"check_formats": None,
"skip_download": True,
"getcomments": True,
"extractor_args": {

View File

@ -103,6 +103,7 @@ class Parser:
def _extract_channel_name(url):
"""find channel id from channel name with yt-dlp help"""
obs_request = {
"check_formats": None,
"skip_download": True,
"extract_flat": True,
"playlistend": 0,