# coding: utf-8 from __future__ import unicode_literals from .common import InfoExtractor import re class TvPleIE(InfoExtractor): _VALID_URL = r'https?://tvple.com/.+' _TEST = { 'url': 'http://tvple.com/381843', 'info_dict': { 'id': '381843', 'ext': 'mp4', 'title': '티비플 » [팀 달캬] 마더즈 로자리오(Mother`s Rosario) 프로젝트 » 퍼가기', } } def _real_extract(self, url): video_id = re.findall('\d.+', url) webpage = self._download_webpage(url, video_id) title = re.findall(u'