[extractor/niconicochannelplus] add a header for video & live pages link

This commit is contained in:
Mozi 2023-06-04 22:33:16 +08:00
parent 862cedb062
commit e5ba9bbec3

View File

@ -252,6 +252,7 @@ def _fetch_paged_channel_video_list(self, path, query, channel_name, item_id, pa
'page': (page + 1),
'per_page': self._PAGE_SIZE,
},
headers={'fc_use_device': 'null'},
note=f'Getting channel info (page {page + 1})',
errnote=f'Unable to get channel info (page {page + 1})',
)['data']['video_pages']['list']