mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-06-28 17:38:35 +00:00
fixed autopep8
This commit is contained in:
parent
c63baf59bb
commit
13fbd8dc58
@ -120,7 +120,7 @@ class CiscoLiveSearchIE(CiscoLiveBaseIE):
|
|||||||
def suitable(cls, url):
|
def suitable(cls, url):
|
||||||
return False if CiscoLiveSessionIE.suitable(url) else super().suitable(url)
|
return False if CiscoLiveSessionIE.suitable(url) else super().suitable(url)
|
||||||
|
|
||||||
def _check_bc_id_exists(self, rf_item):
|
def _check_bc_id_exists(self, rf_item): # noqa: B027
|
||||||
if not isinstance(rf_item, dict) or not isinstance(rf_item.get('videos'), list) or not rf_item['videos']:
|
if not isinstance(rf_item, dict) or not isinstance(rf_item.get('videos'), list) or not rf_item['videos']:
|
||||||
self.write_debug(f'Item missing "videos" list or "videos" is not a list/empty: {rf_item.get("title", rf_item.get("id", "Unknown item"))}')
|
self.write_debug(f'Item missing "videos" list or "videos" is not a list/empty: {rf_item.get("title", rf_item.get("id", "Unknown item"))}')
|
||||||
return False
|
return False
|
||||||
@ -146,7 +146,6 @@ def _entries(self, query, url):
|
|||||||
|
|
||||||
sl = traverse_obj(results, ('sectionList', 0, {dict}))
|
sl = traverse_obj(results, ('sectionList', 0, {dict}))
|
||||||
|
|
||||||
|
|
||||||
items_data_source = results
|
items_data_source = results
|
||||||
source_name_for_debug = 'root of results'
|
source_name_for_debug = 'root of results'
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user