projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move tests to the IE definitions
[youtube-dl]
/
youtube_dl
/
extractor
/
breakcom.py
diff --git
a/youtube_dl/extractor/breakcom.py
b/youtube_dl/extractor/breakcom.py
index 1f6620d9158d25323e9aeb1c5f172eb74a26a806..34f555e891e1b6c1c079ef54ab976c53694b5daa 100644
(file)
--- a/
youtube_dl/extractor/breakcom.py
+++ b/
youtube_dl/extractor/breakcom.py
@@
-5,6
+5,14
@@
from .common import InfoExtractor
class BreakIE(InfoExtractor):
_VALID_URL = r'(?:http://)?(?:www\.)?break\.com/video/([^/]+)'
class BreakIE(InfoExtractor):
_VALID_URL = r'(?:http://)?(?:www\.)?break\.com/video/([^/]+)'
+ _TEST = {
+ u'url': u'http://www.break.com/video/when-girls-act-like-guys-2468056',
+ u'file': u'2468056.mp4',
+ u'md5': u'a3513fb1547fba4fb6cfac1bffc6c46b',
+ u'info_dict': {
+ u"title": u"When Girls Act Like D-Bags"
+ }
+ }
def _real_extract(self, url):
mobj = re.match(self._VALID_URL, url)
def _real_extract(self, url):
mobj = re.match(self._VALID_URL, url)