diff options
author | EntranceJew <EntranceJew@gmail.com> | 2020-12-08 12:14:46 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-09 01:14:46 +0700 |
commit | 644c3ef886c3e7c4974658202c2761cc6570f93a (patch) | |
tree | 7f4d8bf6c916e8ef0c032b3931e1c3fcea407bd4 /youtube_dl | |
parent | 9d8d0f8b4a65ea05c4bd9a9720c07d2c7f3eaf03 (diff) |
[tubitv] Extract release year (#27317)
Diffstat (limited to 'youtube_dl')
-rw-r--r-- | youtube_dl/extractor/tubitv.py | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/youtube_dl/extractor/tubitv.py b/youtube_dl/extractor/tubitv.py index a51fa6515..ebfb05c63 100644 --- a/youtube_dl/extractor/tubitv.py +++ b/youtube_dl/extractor/tubitv.py @@ -33,6 +33,19 @@ class TubiTvIE(InfoExtractor): }, { 'url': 'http://tubitv.com/movies/383676/tracker', 'only_matching': True, + }, { + 'url': 'https://tubitv.com/movies/560057/penitentiary?start=true', + 'info_dict': { + 'id': '560057', + 'ext': 'mp4', + 'title': 'Penitentiary', + 'description': 'md5:8d2fc793a93cc1575ff426fdcb8dd3f9', + 'uploader_id': 'd8fed30d4f24fcb22ec294421b9defc2', + 'release_year': 1979, + }, + 'params': { + 'skip_download': True, + }, }] def _login(self): @@ -93,4 +106,5 @@ class TubiTvIE(InfoExtractor): 'description': video_data.get('description'), 'duration': int_or_none(video_data.get('duration')), 'uploader_id': video_data.get('publisher_id'), + 'release_year': int_or_none(video_data.get('year')), } |