1
0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2025-02-04 17:19:53 +00:00

Update tasvideos.py

This commit is contained in:
SpiderRider067 2020-12-25 16:41:11 -05:00 committed by GitHub
parent 20cb323d5d
commit 7f457f913f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,7 +19,7 @@ class TasVideosIE(InfoExtractor):
video_id = self._match_id(url) video_id = self._match_id(url)
webpage = self._download_webpage(url, video_id) webpage = self._download_webpage(url, video_id)
video_url = "http://www." + self._search_regex( video_url = "http://www." + self._search_regex(
r'<a [^>]+(?P<URL>archive\.org\/download[^<]+(?:mkv|mp4|avi))[^<]+<\/a>', r'<a [^>]+(?P<URL>archive\.org\/download[^<]+\.(?:mkv|mp4|avi))[^<]+<\/a>',
webpage, 'video url') webpage, 'video url')
title = self._search_regex( title = self._search_regex(
r'<span title="Movie[^"]+">(?P<TITLE>[^<]+)<\/span>', webpage, r'<span title="Movie[^"]+">(?P<TITLE>[^<]+)<\/span>', webpage,