1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-08-15 08:58:28 +00:00

[ie/N1Info:article] long line cleanup

Authored by: bashonly
This commit is contained in:
bashonly 2025-08-02 15:12:57 -05:00
parent 70d91c2f8e
commit 0ea62b57ff
No known key found for this signature in database
GPG Key ID: 783F096F253D15B0

View File

@ -145,7 +145,9 @@ def _real_extract(self, url):
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: