[GoogleDriveFolderIE] revert part of last commit

- change folder info json metadata extraction default appraoch to ds match
This commit is contained in:
grqx_wsl 2024-08-18 03:15:45 +12:00
parent 4a76306868
commit d133c2c7f7

View file

@ -372,8 +372,8 @@ def item_url_getter(item, video_id):
self.raise_login_required('This video is only available for registered users')
json_folder_info = (
self._extract_json_meta(webpage, folder_id, hashval=1, name='folder info', default=None)
or self._extract_json_meta(webpage, folder_id, dsval=0, name='folder info - fallback')
self._extract_json_meta(webpage, folder_id, dsval=0, name='folder info', default=None)
or self._extract_json_meta(webpage, folder_id, hashval=1, name='folder info - fallback')
)
json_items = self._extract_json_meta(webpage, folder_id, hashval=6, name='folder items')