Show More
@@ -88,7 +88,7 b' class NothingDownloader(Downloader):' | |||||
88 | def handles(url: str) -> bool: |
|
88 | def handles(url: str) -> bool: | |
89 | response_head = requests.head(url, verify=False) |
|
89 | response_head = requests.head(url, verify=False) | |
90 | content_type = response_head.headers[HEADER_CONTENT_TYPE].split(';')[0] |
|
90 | content_type = response_head.headers[HEADER_CONTENT_TYPE].split(';')[0] | |
91 | return content_type in TYPE_URL_ONLY |
|
91 | return content_type in TYPE_URL_ONLY and not YOUTUBE_URL.match(url) | |
92 |
|
92 | |||
93 | @staticmethod |
|
93 | @staticmethod | |
94 | def download(url: str): |
|
94 | def download(url: str): |
General Comments 0
You need to be logged in to leave comments.
Login now