From: anovicecodemonkey Date: Fri, 31 Oct 2014 10:50:37 +0000 (+1030) Subject: [FunnyOrDie] Add support for "/articles/" URLs X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=2a834bdb21b1a747ba91b27a582aa48e8f28ec0b;p=youtube-dl [FunnyOrDie] Add support for "/articles/" URLs --- diff --git a/youtube_dl/extractor/funnyordie.py b/youtube_dl/extractor/funnyordie.py index ec6d96ada..8ffcfca3b 100644 --- a/youtube_dl/extractor/funnyordie.py +++ b/youtube_dl/extractor/funnyordie.py @@ -8,7 +8,7 @@ from ..utils import ExtractorError class FunnyOrDieIE(InfoExtractor): - _VALID_URL = r'https?://(?:www\.)?funnyordie\.com/(?Pembed|videos)/(?P[0-9a-f]+)(?:$|[?#/])' + _VALID_URL = r'https?://(?:www\.)?funnyordie\.com/(?Pembed|articles|videos)/(?P[0-9a-f]+)(?:$|[?#/])' _TESTS = [{ 'url': 'http://www.funnyordie.com/videos/0732f586d7/heart-shaped-box-literal-video-version', 'md5': 'bcd81e0c4f26189ee09be362ad6e6ba9',