mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 14:45:14 +00:00 
			
		
		
		
	| @@ -15,7 +15,6 @@ from ..utils import ( | |||||||
|     UserNotLive, |     UserNotLive, | ||||||
|     determine_ext, |     determine_ext, | ||||||
|     format_field, |     format_field, | ||||||
|     get_element_by_id, |  | ||||||
|     get_first, |     get_first, | ||||||
|     int_or_none, |     int_or_none, | ||||||
|     join_nonempty, |     join_nonempty, | ||||||
| @@ -50,8 +49,9 @@ class TikTokBaseIE(InfoExtractor): | |||||||
|         return f'https://www.tiktok.com/@{user_id or "_"}/video/{video_id}' |         return f'https://www.tiktok.com/@{user_id or "_"}/video/{video_id}' | ||||||
| 
 | 
 | ||||||
|     def _get_sigi_state(self, webpage, display_id): |     def _get_sigi_state(self, webpage, display_id): | ||||||
|         return self._parse_json(get_element_by_id( |         return self._search_json( | ||||||
|             'SIGI_STATE|sigi-persisted-data', webpage, escape_value=False), display_id) |             r'<script[^>]+\bid="(?:SIGI_STATE|sigi-persisted-data)"[^>]*>', webpage, | ||||||
|  |             'sigi state', display_id, end_pattern=r'</script>') | ||||||
| 
 | 
 | ||||||
|     def _call_api_impl(self, ep, query, manifest_app_version, video_id, fatal=True, |     def _call_api_impl(self, ep, query, manifest_app_version, video_id, fatal=True, | ||||||
|                        note='Downloading API JSON', errnote='Unable to download API page'): |                        note='Downloading API JSON', errnote='Unable to download API page'): | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 bashonly
					bashonly