1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-07-03 02:35:28 +02:00

Update yt_dlp/extractor/microsoftembed.py

Co-authored-by: sepro <4618135+seproDev@users.noreply.github.com>
This commit is contained in:
c-basalt 2024-06-29 17:43:58 -04:00 committed by GitHub
parent 8e8909ce25
commit c5cff172a2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -270,8 +270,7 @@ def _real_extract(self, url):
metainfo = {
'title': self._og_search_title(webpage),
'description': self._og_search_description(webpage),
'timestamp': parse_iso8601(self._search_regex(
r'<meta\s+name="startDate"\s+content="([^"]+)"', webpage, 'date', default=None)),
'timestamp': parse_iso8601(self._html_search_meta('startDate', webpage, 'startDate')),
}
return self.url_result(