1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-09-03 00:25:08 +00:00

[cleanup] Add more ruff rules (#10149)

Authored by: seproDev

Reviewed-by: bashonly <88596187+bashonly@users.noreply.github.com>
Reviewed-by: Simon Sawicki <contact@grub4k.xyz>
This commit is contained in:
sepro
2024-06-12 01:09:58 +02:00
committed by GitHub
parent db50f19d76
commit add96eb9f8
915 changed files with 7027 additions and 7246 deletions

View File

@ -63,7 +63,7 @@ class NetverseIE(NetverseBaseIE):
'timestamp': 1626919804,
'like_count': int,
'uploader': 'Net Prime',
}
},
}, {
# series
'url': 'https://www.netverse.id/watch/jadoo-seorang-model',
@ -87,7 +87,7 @@ class NetverseIE(NetverseBaseIE):
'uploader': 'Net Prime',
'age_limit': 0,
},
'skip': 'video get Geo-blocked for some country'
'skip': 'video get Geo-blocked for some country',
}, {
# non www host
'url': 'https://netverse.id/watch/tetangga-baru',
@ -135,7 +135,7 @@ class NetverseIE(NetverseBaseIE):
'timestamp': 1645764984,
'upload_date': '20220225',
},
'skip': 'This video get Geo-blocked for some country'
'skip': 'This video get Geo-blocked for some country',
}, {
# video with comments
'url': 'https://netverse.id/video/episode-1-season-2016-ok-food',
@ -161,8 +161,8 @@ class NetverseIE(NetverseBaseIE):
'comment_count': int,
},
'params': {
'getcomments': True
}
'getcomments': True,
},
}, {
# video with multiple page comment
'url': 'https://netverse.id/video/match-island-eps-1-fix',
@ -188,8 +188,8 @@ class NetverseIE(NetverseBaseIE):
'comment_count': int,
},
'params': {
'getcomments': True
}
'getcomments': True,
},
}]
def _real_extract(self, url):