mirror of
https://github.com/yt-dlp/yt-dlp
synced 2024-12-28 22:24:34 +01:00
fix code formating, fix test folder title
This commit is contained in:
parent
05403ea5ad
commit
a917af960c
1 changed files with 5 additions and 5 deletions
|
@ -302,7 +302,7 @@ class GoogleDriveFolderIE(InfoExtractor):
|
|||
'url': 'https://drive.google.com/drive/folders/1CkqRsNlzZ0o3IL083j17s6sH5Q83DcGo',
|
||||
'info_dict': {
|
||||
'id': '1CkqRsNlzZ0o3IL083j17s6sH5Q83DcGo',
|
||||
'title': 'public folder',
|
||||
'title': r'], sideChannel: {}});',
|
||||
},
|
||||
'playlist_count': 4,
|
||||
}]
|
||||
|
@ -319,8 +319,8 @@ class GoogleDriveFolderIE(InfoExtractor):
|
|||
AF_initDataCallback({key: 'ds:3', hash: '2', data:[], sideChannel: {}});
|
||||
"""
|
||||
return self._search_json(self._JSON_DS_RE % dsval, webpage,
|
||||
f'webpage JSON ds:{dsval}', video_id,
|
||||
contains_pattern=self._ARRAY_RE, **kwargs)
|
||||
f'webpage JSON ds:{dsval}', video_id,
|
||||
contains_pattern=self._ARRAY_RE, **kwargs)
|
||||
|
||||
def _extract_json_hash(self, hashval, webpage, video_id, **kwargs):
|
||||
"""
|
||||
|
@ -331,8 +331,8 @@ class GoogleDriveFolderIE(InfoExtractor):
|
|||
AF_initDataCallback({key: 'ds:3', hash: '2', data:[], sideChannel: {}});
|
||||
"""
|
||||
return self._search_json(self._JSON_HASH_RE % hashval, webpage,
|
||||
f'webpage JSON hash:{hashval}', video_id,
|
||||
contains_pattern=self._ARRAY_RE, **kwargs)
|
||||
f'webpage JSON hash:{hashval}', video_id,
|
||||
contains_pattern=self._ARRAY_RE, **kwargs)
|
||||
|
||||
def _real_extract(self, url):
|
||||
def item_url_getter(item):
|
||||
|
|
Loading…
Reference in a new issue