<s> from __future__ import unicode_literals <EOL> from . common import InfoExtractor <EOL> class IconosquareIE ( InfoExtractor ) : <EOL> _VALID_URL = r'<STR_LIT>' <EOL> _TEST = { <EOL> '<STR_LIT:url>' : '<STR_LIT>' , <EOL> '<STR_LIT>' : '<STR_LIT>' , <EOL> '<STR_LIT>' : { <EOL> '<STR_LIT:id>' : '<STR_LIT>' , <EOL> '<STR_LIT>' : '<STR_LIT>' , <EOL> '<STR_LIT>' : '<STR_LIT>' , <EOL> '<STR_LIT:title>' : '<STR_LIT>' , <EOL> '<STR_LIT:description>' : '<STR_LIT>' , <EOL> } , <EOL> } <EOL> def _real_extract ( self , url ) : <EOL> video_id = self . _match_id ( url ) <EOL> webpage = self . _download_webpage ( url , video_id ) <EOL> title = self . _html_search_regex ( <EOL> r'<STR_LIT>' , <EOL> webpage , '<STR_LIT:title>' ) <EOL> uploader_id = self . _html_search_regex ( <EOL> r'<STR_LIT>' , title , '<STR_LIT>' , fatal = False ) <EOL> return { <EOL> '<STR_LIT:id>' : video_id , <EOL> '<STR_LIT:url>' : self . _og_search_video_url ( webpage ) , <EOL> '<STR_LIT:title>' : title , <EOL> '<STR_LIT:description>' : self . _og_search_description ( webpage ) , <EOL> '<STR_LIT>' : self . _og_search_thumbnail ( webpage ) , <EOL> '<STR_LIT>' : uploader_id <EOL> } </s>
