Browse Source

[ae] Rename to aenetworks and clarify extractor name and description

master
Sergey M․ 8 years ago
parent
commit
855f90fa6f
2 changed files with 4 additions and 2 deletions
  1. 2
      youtube_dl/extractor/__init__.py
  2. 4
      youtube_dl/extractor/aenetworks.py

2
youtube_dl/extractor/__init__.py

@ -15,7 +15,7 @@ from .adobetv import (
AdobeTVVideoIE,
)
from .adultswim import AdultSwimIE
from .ae import AEIE
from .aenetworks import AENetworksIE
from .aftonbladet import AftonbladetIE
from .airmozilla import AirMozillaIE
from .aljazeera import AlJazeeraIE

youtube_dl/extractor/ae.py → youtube_dl/extractor/aenetworks.py

@ -4,7 +4,9 @@ from .common import InfoExtractor
from ..utils import smuggle_url
class AEIE(InfoExtractor):
class AENetworksIE(InfoExtractor):
IE_NAME = 'aenetworks'
IE_DESC = 'A+E Networks: A&E, Lifetime, History.com, FYI Network'
_VALID_URL = r'https?://(?:www\.)?(?:(?:history|aetv|mylifetime)\.com|fyi\.tv)/(?:[^/]+/)+(?P<id>[^/]+?)(?:$|[?#])'
_TESTS = [{
Loading…
Cancel
Save