diff options
author | Yen Chi Hsuan <yan12125@gmail.com> | 2017-02-02 21:51:31 +0800 |
---|---|---|
committer | Yen Chi Hsuan <yan12125@gmail.com> | 2017-02-02 21:51:31 +0800 |
commit | bd8f48c78b952ebe3bf335185c819e265f63cb50 (patch) | |
tree | 40d65e54717aeda9090b66737ac927fc4e1fe339 /youtube_dl/extractor/extractors.py | |
parent | 81aeafeb44a16b341e47c3bb85d288252a095eda (diff) |
[bilibili] Support new Bangumi URLs (closes #11845)
To reduce complexity, I don't support old Bangumi URLs directly via
_VALID_URL. Instead, I choose to let it go to generic redirection. An
example can be found in #10190:
http://bangumi.bilibili.com/anime/v/40062
Diffstat (limited to 'youtube_dl/extractor/extractors.py')
-rw-r--r-- | youtube_dl/extractor/extractors.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/youtube_dl/extractor/extractors.py b/youtube_dl/extractor/extractors.py index 06e6d4620..1d1c05d42 100644 --- a/youtube_dl/extractor/extractors.py +++ b/youtube_dl/extractor/extractors.py @@ -103,7 +103,10 @@ from .beatport import BeatportIE from .bet import BetIE from .bigflix import BigflixIE from .bild import BildIE -from .bilibili import BiliBiliIE +from .bilibili import ( + BiliBiliIE, + BiliBiliBangumiIE, +) from .biobiochiletv import BioBioChileTVIE from .biqle import BIQLEIE from .bleacherreport import ( |