[cleanup] Misc (#13852)

Closes #13815
Authored by: seproDev, injust, bashonly

Co-authored-by: Justin Su <[email protected]>
Co-authored-by: bashonly <[email protected]>
This commit is contained in:
sepro
2025-08-11 03:18:28 +00:00
committed by GitHub
co-authored by Justin Su bashonly
parent e98695549e
commit 5e4ceb35cf
11 changed files with 39 additions and 15 deletions
+3 -1
View File
@@ -145,7 +145,9 @@ class N1InfoIIE(InfoExtractor):
webpage = self._download_webpage(url, video_id)
title = self._og_search_title(webpage) or self._html_extract_title(webpage)
timestamp = unified_timestamp(self._og_search_property('published_time', webpage, default=None) or self._html_search_meta('article:published_time', webpage))
timestamp = unified_timestamp(
self._og_search_property('published_time', webpage, default=None)
or self._html_search_meta('article:published_time', webpage))
plugin_data = re.findall(r'\$bp\("(?:Brid|TargetVideo)_\d+",\s(.+)\);', webpage)
entries = []
if plugin_data: