From 685e9619235c272fec8d3868e3d851b44a67d78b Mon Sep 17 00:00:00 2001 From: JChris246 Date: Wed, 13 Mar 2019 21:10:10 -0400 Subject: [PATCH] [Anysex] removed extractor to be handled by generic extractor anysex video urls are in html5 video tags which can be extracted by generic extractor Adjusted common.py to be able to sort formats founf from anysex --- youtube_dl/extractor/common.py | 2 +- youtube_dl/extractor/extractors.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/youtube_dl/extractor/common.py b/youtube_dl/extractor/common.py index dfd0584d3..01dc22b4c 100644 --- a/youtube_dl/extractor/common.py +++ b/youtube_dl/extractor/common.py @@ -2483,7 +2483,7 @@ class InfoExtractor(object): # in the wild f.update({ 'height': int_or_none(source_attributes.get('res')), - 'format_id': source_attributes.get('label'), + 'format_id': source_attributes.get('label') or source_attributes.get('title'), }) f.update(formats[0]) media_info['formats'].append(f) diff --git a/youtube_dl/extractor/extractors.py b/youtube_dl/extractor/extractors.py index 9a0459de8..e27a09509 100644 --- a/youtube_dl/extractor/extractors.py +++ b/youtube_dl/extractor/extractors.py @@ -39,7 +39,6 @@ from .amcnetworks import AMCNetworksIE from .americastestkitchen import AmericasTestKitchenIE from .animeondemand import AnimeOnDemandIE from .anvato import AnvatoIE -from .anysex import AnySexIE from .aol import AolIE from .allocine import AllocineIE from .aliexpress import AliExpressLiveIE