aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzenerdi0de <83358565+zenerdi0de@users.noreply.github.com>2022-10-03 18:37:09 +0530
committerGitHub <noreply@github.com>2022-10-03 18:37:09 +0530
commiteb2d9504b91c4ca3b10a90302df53b867924e86b (patch)
tree915f7346be5aa2627c3d75b2a453f815a89255ef
parent8a04054647d40037499e446cd6c1099cdd46f4c8 (diff)
downloadhypervideo-pre-eb2d9504b91c4ca3b10a90302df53b867924e86b.tar.lz
hypervideo-pre-eb2d9504b91c4ca3b10a90302df53b867924e86b.tar.xz
hypervideo-pre-eb2d9504b91c4ca3b10a90302df53b867924e86b.zip
[extractor/tennistv] Fix timestamp (#5085)
Authored by: zenerdi0de
-rw-r--r--yt_dlp/extractor/tennistv.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/extractor/tennistv.py b/yt_dlp/extractor/tennistv.py
index 3bd7ce3c4..5baa21d52 100644
--- a/yt_dlp/extractor/tennistv.py
+++ b/yt_dlp/extractor/tennistv.py
@@ -148,7 +148,7 @@ class TennisTVIE(InfoExtractor):
webpage, 'description', fatal=False),
'thumbnail': f'https://open.http.mp.streamamg.com/p/{self._PARTNER_ID}/sp/{self._PARTNER_ID}00/thumbnail/entry_id/{entryid}/version/100001/height/1920',
'timestamp': unified_timestamp(self._html_search_regex(
- r'<span itemprop="description" content=["\']([^"\']+)["\']>', webpage, 'upload time')),
+ r'<span itemprop="uploadDate" content=["\']([^"\']+)["\']>', webpage, 'upload time', fatal=False)),
'series': self._html_search_regex(r'data-series\s*?=\s*?"(.*?)"', webpage, 'series', fatal=False) or None,
'season': self._html_search_regex(r'data-tournament-city\s*?=\s*?"(.*?)"', webpage, 'season', fatal=False) or None,
'episode': self._html_search_regex(r'data-round\s*?=\s*?"(.*?)"', webpage, 'round', fatal=False) or None,