[dt] replace 'text.parse_datetime()' & 'text.parse_timestamp()'

This commit is contained in:
Mike Fährmann
2025-10-17 17:43:06 +02:00
parent d57dc48dcd
commit 085616e0a8
138 changed files with 220 additions and 260 deletions

View File

@@ -40,7 +40,7 @@ class WebmshareVideoExtractor(Extractor):
'property="og:video:width" content="', '"')),
"height": text.parse_int(extr(
'property="og:video:height" content="', '"')),
"date" : text.parse_datetime(extr(
"date" : self.parse_datetime(extr(
"<small>Added ", "<"), "%B %d, %Y"),
"views": text.parse_int(extr('glyphicon-eye-open"></span>', '<')),
"id" : self.video_id,