1 from __future__ import unicode_literals
3 from .common import InfoExtractor
9 class Play44IE(InfoExtractor):
10 _VALID_URL = r'http://[w.]*play44\.net/embed\.php[^/]*/(?P<id>.+)'
13 'url': 'http://play44.net/embed.php?w=600&h=438&vid=M/mahou-shoujo-madoka-magica-07.flv',
14 'md5': 'e37e99d665f503dd2db952f7c4dba9e6',
16 'id': 'mahou-shoujo-madoka-magica-07',
18 'title': 'mahou-shoujo-madoka-magica-07',
22 def _real_extract(self, url):
23 video_id = self._match_id(url)
24 page = self._download_webpage(url, video_id)
26 video_url = compat_urllib_parse.unquote(self._html_search_regex(
27 r'_url = "(https?://[^"]+?)";', page, 'url'))
28 title = self._search_regex(r'.*/(?P<title>[^.]*).', video_url, 'title')
37 class ByZooIE(Play44IE):
38 _VALID_URL = r'http://[w.]*byzoo\.org/embed\.php[^/]*/(?P<id>.+)'
41 'url': 'http://byzoo.org/embed.php?w=600&h=438&vid=at/nw/mahou_shoujo_madoka_magica_movie_3_-_part1.mp4',
42 'md5': '455c83dabe2cd9fd74a87612b01fe017',
44 'id': 'mahou_shoujo_madoka_magica_movie_3_-_part1',
46 'title': 'mahou_shoujo_madoka_magica_movie_3_-_part1',
51 class Video44IE(Play44IE):
52 _VALID_URL = r'http://[w.]*video44\.net/.*file=(?P<id>[^&].).*'
55 'url': 'http://www.video44.net/gogo/?w=600&h=438&file=chaoshead-12.flv&sv=1',
56 'md5': '43eaec6d0beb10e8d42459b9f108aff3',
60 'title': 'chaoshead-12',
65 class VideoWingIE(Play44IE):
67 http://[w.]*videowing\.[^/]*/
76 'url': 'http://videowing.me/embed?w=718&h=438&video=ongoing/boku_wa_tomodachi_ga_sukunai_-_05.mp4',
77 'md5': '4ed320e353ed26c742c4f12a9c210b60',
79 'id': 'boku_wa_tomodachi_ga_sukunai_-_05',
81 'title': 'boku_wa_tomodachi_ga_sukunai_-_05',
84 'url': 'http://videowing.me/embed/a8d6a39522df066bd734a69f2334497e?w=600&h=438',
85 'md5': '33fdd71581357018c226f95c5cedcfd7',
87 'id': 'mahoushoujomadokamagicamovie1part1',
89 'title': 'mahoushoujomadokamagicamovie1part1',
94 class PlayPandaIE(Play44IE):
95 _VALID_URL = r'http://[w.]*playpanda\.[^/]*/.*vid=/*(?P<id>[^&].).*'
98 'url': 'http://playpanda.net/embed.php?w=718&h=438&vid=at/nw/boku_wa_tomodachi_ga_sukunai_-_05.mp4',
99 'md5': '4ed320e353ed26c742c4f12a9c210b60',
101 'id': 'boku_wa_tomodachi_ga_sukunai_-_05',
103 'title': 'boku_wa_tomodachi_ga_sukunai_-_05',
104 'description': 'boku_wa_tomodachi_ga_sukunai_-_05'
109 class VideoZooIE(Play44IE):
110 _VALID_URL = r'http://[w.]*videozoo\.[^/]*/.*vid=/*(?P<id>[^&].).*'
113 'url': 'http://videozoo.me/embed.php?w=718&h=438&vid=at/nw/boku_wa_tomodachi_ga_sukunai_-_05.mp4',
114 'md5': '4ed320e353ed26c742c4f12a9c210b60',
116 'id': 'boku_wa_tomodachi_ga_sukunai_-_05',
118 'title': 'boku_wa_tomodachi_ga_sukunai_-_05',
123 class PlayBBIE(Play44IE):
124 _VALID_URL = r'http://[w.]*playbb\.[^/]*/.*vid=/*(?P<id>[^&].).*'
127 'url': 'http://playbb.me/embed.php?w=718&h=438&vid=at/nw/boku_wa_tomodachi_ga_sukunai_-_05.mp4',
128 'md5': '4ed320e353ed26c742c4f12a9c210b60',
130 'id': 'boku_wa_tomodachi_ga_sukunai_-_05',
132 'title': 'boku_wa_tomodachi_ga_sukunai_-_05',
137 class EasyVideoIE(Play44IE):
138 _VALID_URL = r'http://[w.]*easyvideo\.[^/]*/.*file=/*(?P<id>[^&.]+)'
141 'url': 'http://easyvideo.me/gogo/?w=718&h=438&file=bokuwatomodachigasukunai-04.flv&sv=1',
142 'md5': '26178b57629b7650106d72b191137176',
144 'id': 'bokuwatomodachigasukunai-04',
146 'title': 'bokuwatomodachigasukunai-04',
148 'skip': 'Blocked in Germany',