def RESOLVE(url,iconimage,content,infolabels): url = re.split(r'#', url, re.I)[0] request_url = '%s/video_info/iframe' %baseurl headers = {'User-Agent':md.User_Agent()} link = open_url(url, headers=headers, redirects=False) cookie = link.cookies.get_dict() form_data={'v': re.search(r'v\=(.*?)$',url,re.I).group(1)} headers = {'origin':baseurl, 'referer': url, 'user-agent':md.User_Agent(),'x-requested-with':'XMLHttpRequest'} headers['Cookie'] = 'ci_session=%s' %cookie['ci_session'] final = open_url(request_url, 'post', data=form_data, headers=headers, redirects=False).json() res_quality = [] stream_url = [] quality = '' if auto_play == 'true': key = max(final.keys(), key=int) url = final[str(key)].split('=')[1] else: match = final for a, b in match.iteritems(): quality = '[B][I][COLOR red]%s[/COLOR][/I][/B]' %a res_quality.append(quality) stream_url.append(b.split('=')[1]) if len(match) >1: ret = md.dialog_select('Select Stream Quality',res_quality) if ret == -1: return elif ret > -1: url = stream_url[ret] else: key = max(final.keys(), key=int) url = final[str(key)].split('=')[1] url = urllib.unquote(url) md.resolved(url, name, iconimage, infolabels) addon.end_of_directory()
def RESOLVE(url, name, content, fan_art, infolabels): if content == 'movies': link = open_url(url).content requestURL = re.findall( r'<a href="([^"]+)"target="EZWebPlayer" class="abutton orange medium">SERVER 1</a>', str(link), re.I | re.DOTALL)[0] else: requestURL = url host = baseurl.split('//')[1].split('/')[0] headers = { 'Host': 'player.%s' % host, 'Referer': url, 'User-Agent': md.User_Agent() } link2 = open_url('http:' + requestURL, headers=headers).content data = re.findall(r'sources:\[(.*?)\]', str(link2), re.I | re.DOTALL)[0].replace(' ', '') value = [] max_url = [] final_url = '' match = re.findall(r'file":"(.*?)"', str(data), re.I | re.DOTALL) match2 = re.findall(r'label":"(.*?)"', str(data), re.I | re.DOTALL) for url in match: max_url.append(url) for label in match2: value.append(int(re.sub('\D', '', label))) try: final_url = max_url[md.get_max_value_index(value)[0]] except: final_url = match[0] md.resolved(final_url, name, fan_art, infolabels) addon.end_of_directory()
def LINKS2(url, iconimage, content, infolabels, query): split_head = re.split(r"\+", str(query), re.I) referer = split_head[0] coookie = split_head[1] headers = { 'Referer': referer, 'Cookie': coookie, 'user-agent': md.User_Agent(), 'x-requested-with': 'XMLHttpRequest' } final = open_url(url, headers=headers).json() res_quality = [] stream_url = [] quality = '' if auto_play == 'true': url = max(final['playlist'][0]['sources'], key=lambda lab: int(re.sub('\D', '', lab['label']))) url = url['file'] else: match = final['playlist'][0]['sources'] for a in match: quality = '[B][I][COLOR red]%s[/COLOR][/I][/B]' % a['label'] res_quality.append(quality) stream_url.append(a['file']) if len(match) > 1: ret = md.dialog_select('Select Stream Quality', res_quality) if ret == -1: return elif ret > -1: url = stream_url[ret] else: url = final['playlist'][0]['sources'][0]['file'] url = url.replace('&', '&').replace('\/', '/') liz = xbmcgui.ListItem(name, iconImage=iconimage, thumbnailImage=iconimage) liz.setInfo(type='Video', infoLabels=infolabels) liz.setProperty("IsPlayable", "true") liz.setPath(url) xbmcplugin.setResolvedUrl(int(sys.argv[1]), True, liz)
def INDEX(url, content): headers = {'User-Agent':md.User_Agent()} link = open_url(url, headers=headers, redirects=False) cookie = link.cookies.get_dict() headers['Cookie'] = 'ci_session=%s' %cookie['ci_session'] link = open_url(url, headers=headers, redirects=False).content content = 'movies' all_videos = md.regex_get_all(link.replace('\n',''), 'cell_container', '</div></div>') items = len(all_videos) for a in all_videos: name = md.regex_from_to(a, 'a title="', '\(') name = addon.unescape(name) url = md.regex_from_to(a, 'href="', '"').replace("&","&") year = md.regex_from_to(a, 'Year</b>:', '<').strip() qual = md.regex_from_to(a, 'Quality</b>:', '<') if baseurl not in url: url = baseurl + url thumb = md.regex_from_to(a, 'src="', '"') if not 'http://' in thumb: thumb = 'http://%s' %thumb fan_art = {'icon':thumb} md.addDir({'mode':'3', 'name':'[B][COLOR ivory]%s[/COLOR][COLOR red][I](%s%s)[/I][/COLOR][/B]' %(name,year,qual), 'url':url, 'iconimage':thumb, 'content':content}, {'sorttitle':name}, fan_art, is_folder=False, item_count=items) try: match = re.compile('<a href="(.*?)\?page\=(.*?)">').findall(link) for url, pn in match: url = baseurl+url+'?page='+pn md.addDir({'mode':'1', 'name':'[I][B][COLOR red]Page %s >>>[/COLOR][/B][/I]' %pn, 'url':url, 'content':content}) except: pass setView(addon_id, 'movies', 'movie-view') addon.end_of_directory()
def l1l1l1Fuck_You_Anonymous(url,name,l11111Fuck_You_Anonymous,content,l1l1llFuck_You_Anonymous,query): l1ll1llFuck_You_Anonymous = [] l1l1l11Fuck_You_Anonymous = [] l11l1l1Fuck_You_Anonymous = l111Fuck_You_Anonymous (u"ࠫࠬএ") if content == l111Fuck_You_Anonymous (u"ࠬࡳࡷࡨࡷࠬঐ"): link = open_url(url,verify=False).content l11l111Fuck_You_Anonymous = re.findall(l111Fuck_You_Anonymous (u"ࡸࠧ࠽ࠣࡧࡱࡧࡳࡴࠥࡪࡦࠦࡦࡢࡶࡩࡷࡼࡥࡳࠢࡰࡶ࠺ࠨ࠾࠽࠱ࡂࡁࡹࡴࡳࡱࡱࡃࠫࡁࠬࡀ࠴ࡹࡴࡳࡱࡱࡃ࠴ࠪࡀ࠾ࡤࠤࡸࡥࡧࠥࠬ࠳࠰ࠪࠤࠣ࠲ࡅ࠾ࠨ"), str(link), re.I|re.DOTALL) l111l11Fuck_You_Anonymous = [] l1l11ll1Fuck_You_Anonymous = [] l1ll1lFuck_You_Anonymous = l111Fuck_You_Anonymous (u"ࠧࠨ") for l1lll1lFuck_You_Anonymous, l1l1l111Fuck_You_Anonymous in l11l111Fuck_You_Anonymous: if l111Fuck_You_Anonymous (u"ࠨࡕࡈࡖ࡛ࡋࡒࠨও") in l1lll1lFuck_You_Anonymous: l1ll1lFuck_You_Anonymous = l111Fuck_You_Anonymous (u"ࠩ࡞ࡆࡢࡡࡉ࡞ࡆࡓࡑࡕࡒࠡࡵࡷࡩࡪࡲࡢࡷࡨࡡࠪࡹ࡛࠰ࡅࡒࡐࡔࡘ࠱ࡌࡡࡠ࠵ࡂ࡞ࠩঔ") %l1lll1lFuck_You_Anonymous l111l11Fuck_You_Anonymous.append(l1ll1lFuck_You_Anonymous) l1l11ll1Fuck_You_Anonymous.append(l1l1l111Fuck_You_Anonymous) if l11ll11Fuck_You_Anonymous == l111Fuck_You_Anonymous (u"ࠪࡸࡷࡻࡥࠨক"): request_url = l1l11ll1Fuck_You_Anonymous[0] else: if len(l11l111Fuck_You_Anonymous) > 1: l1llll1Fuck_You_Anonymous = md.dialog_select(l111Fuck_You_Anonymous (u"ࠫࡕࡲࡥࡢࡵࡨࠤࡈࡰࡵࡨࠤࡆࠦࡓࡦࡴࡹࡩࡷ࠭খ"),l111l11Fuck_You_Anonymous) if l1llll1Fuck_You_Anonymous == -1: return elif l1llll1Fuck_You_Anonymous > -1: request_url = l1l11ll1Fuck_You_Anonymous[l1llll1Fuck_You_Anonymous] else: request_url = l1l11ll1Fuck_You_Anonymous[0] else: request_url = url l1l1l11lFuck_You_Anonymous = open_url(request_url,verify=False).content l1ll11lFuck_You_Anonymous = re.findall(l111Fuck_You_Anonymous (u"ࡷ࠭ࡥࡱࡶࡳࡩ࠺ࠡࠤࠫ࠲ࡅࠩࠣࠩগ"), str(l1l1l11lFuck_You_Anonymous), re.I|re.DOTALL)[2] l1l11l1lFuck_You_Anonymous = l111111Fuck_You_Anonymous.replace(l111Fuck_You_Anonymous (u"࠭ࡨࡵࡶࡳ࠾࠴࠵ࠧঘ"),l111Fuck_You_Anonymous (u"ࠧࠨঙ")).replace(l111Fuck_You_Anonymous (u"ࠨࡪࡷࡸࡵࡹ࠺࠰࠱ࠪচ"),l111Fuck_You_Anonymous (u"ࠩࠪছ")) try: l1lllFuck_You_Anonymous = llFuck_You_Anonymous() l1l1lFuck_You_Anonymous = re.findall(l111Fuck_You_Anonymous (u"ࡵࠫࡧࡳࡩ࠼ࠣࠦ࠭࠴ࠪࡀࠫࠥࠫজ"), str(l1l1l11lFuck_You_Anonymous), re.I|re.DOTALL)[0] cookie = l111Fuck_You_Anonymous (u"ࠫࠪࡹ࠽ࠦࡵࠪঝ") %(hashlib.md5(key.decode(l111Fuck_You_Anonymous (u"ࠬࡨࡡࡴࡧ࠹࠸ࠬঞ"))[::1] + l1ll11lFuck_You_Anonymous + l1lllFuck_You_Anonymous).hexdigest(), hashlib.md5(l1lllFuck_You_Anonymous + request_url + l1ll11lFuck_You_Anonymous).hexdigest()) l1l1111Fuck_You_Anonymous = l111Fuck_You_Anonymous (u"࠭ࡨࡵࡶࡳ࠾࠴࠵ࡰࡣࡼ࠲ࠪࡹࡨࡴࡤࡦࡧࡲࡣࡳ࠴ࡰࡪࡵࡲࡨࡪ࠵ࠥࡴࡁࡷࡳࡰ࠾ࠧࡶࠫট") %(l1l11l1lFuck_You_Anonymous,l1ll11lFuck_You_Anonymous,l1lllFuck_You_Anonymous) headers = {l111Fuck_You_Anonymous (u"ࠧࡂࡥࡦࡩࡵࡺ࠭ࡆࡰࡦࡳࡩࡨࠩঠ"):l111Fuck_You_Anonymous (u"ࠨࡩࡽࡵ࠲ࠠࡥࡧࡩࡰࡦࡺࡥ࠭ࠢࡶࡨࡨࠧড"), l111Fuck_You_Anonymous (u"ࠩࡆࡳࡴࡱࡩࡦࠩঢ"): cookie, l111Fuck_You_Anonymous (u"ࠪࡖࡪࡥࡳࡧࡵࠫণ"): request_url, l111Fuck_You_Anonymous (u"ࠫࡔࡸࡩࡨࡱࠫত"):l111111Fuck_You_Anonymous, l111Fuck_You_Anonymous (u"࡛ࠬࡳࡦࡴ࠰ࡅࡵࠩথ"):md.User_Agent()} final = open_url(l1l1111Fuck_You_Anonymous, headers=headers, verify=False).json() if l11ll11Fuck_You_Anonymous == l111Fuck_You_Anonymous (u"࠭ࡴࡳࡷࡨࠫদ"): url = max(final[l111Fuck_You_Anonymous (u"ࠧࡱࡤࡽࡱࡳࡵࠩধ")][0][l111Fuck_You_Anonymous (u"ࠨࡵࡲࡹࡷࡩࡥࡴࠩন")], key=lambda l1l11lllFuck_You_Anonymous: int(re.sub(l111Fuck_You_Anonymous (u"ࠩࡈࠬ"), l111Fuck_You_Anonymous (u"ࠪࠫপ"), l1l11lllFuck_You_Anonymous[l111Fuck_You_Anonymous (u"ࠫࡱࡧࡢࡦࠪফ")]))) url = url[l111Fuck_You_Anonymous (u"ࠬࡩࡧࠪব")] else: match = final[l111Fuck_You_Anonymous (u"࠭ࡰࡣࡼࡰࡹࡴࠨভ")][0][l111Fuck_You_Anonymous (u"ࠧࡴࡱࡸࡶࡨࡳࠨম")] for a in match: l11l1l1Fuck_You_Anonymous = l111Fuck_You_Anonymous (u"ࠨࡅࡡࡠࡏࡅࡒࡐࡔࡘࠠࡴࡶࡨࡩࡱࡨࡶࡧࡠࠩࡸࡡࡄࡑࡏࡓࡗࡣ࡛࠰ࡋࡠ࠴ࡈࠨয") %a[l111Fuck_You_Anonymous (u"ࠩࡥࡧࠨর")] l1ll1llFuck_You_Anonymous.append(l11l1l1Fuck_You_Anonymous) l1l1l11Fuck_You_Anonymous.append(a[l111Fuck_You_Anonymous (u"ࠪࡪࡲࡥࠨ")]) if len(match) >1: l1llll1Fuck_You_Anonymous = md.dialog_select(l111Fuck_You_Anonymous (u"ࠫࡘࡦࡥࡷࠤࡘࡺࡲࡦࡣࡰࠤࡖࡻࡡࡷࡽࠬল"),l1ll1llFuck_You_Anonymous) if l1llll1Fuck_You_Anonymous == -1: return elif l1llll1Fuck_You_Anonymous > -1: url = l1l1l11Fuck_You_Anonymous[l1llll1Fuck_You_Anonymous] else: url = max(final[l111Fuck_You_Anonymous (u"ࠬࡶࡢࡻࡸࡺࠧ")][0][l111Fuck_You_Anonymous (u"࠭ࡳࡰࡷࡵࡧࡪࡹࠧ")], key=lambda l1l11lllFuck_You_Anonymous: int(re.sub(l111Fuck_You_Anonymous (u"ࠧࡆࠪ"), l111Fuck_You_Anonymous (u"ࠨࠩশ"), l1l11lllFuck_You_Anonymous[l111Fuck_You_Anonymous (u"ࠩࡥࡧࠨষ")]))) url = url[l111Fuck_You_Anonymous (u"ࠪࡪࡲࡥࠨস")] if l111111Fuck_You_Anonymous not in url: if l111Fuck_You_Anonymous (u"ࠫࡵࡨࡨࠫহ") not in url: url = l111111Fuck_You_Anonymous + url except: l1l1111Fuck_You_Anonymous = l111Fuck_You_Anonymous (u"ࠬࡴࡵࡲ࠽࠳࠴ࡶࡢࡻ࠱ࠩࡸ࠵ࡴࡰࡨࡲ࠳ࡶࡨࡱࠩ") %l1l11l1lFuck_You_Anonymous l1ll1ll1Fuck_You_Anonymous = {l111Fuck_You_Anonymous (u"࠭ࡩࡥࠩ"):l1ll11lFuck_You_Anonymous} headers = {l111Fuck_You_Anonymous (u"ࠧࡂࡥࡦࡩࡵࡺ়ࠧ"):l111Fuck_You_Anonymous (u"ࠨࡣࡳࡴࡱࡣࡢࡶࡳࡳ࠵ࡪࡴࡱࡱ࠰ࠥࡺࡥࡹࡶ࠲ࡦࡼࡡࡴࡥࡵࡵࡺࠬࠡࠬ࠲ࡀࠦࡱ࠾࠲࠱࠴࠶࠭ঽ"), l111Fuck_You_Anonymous (u"ࠩࡄࡧࡨࡰࡵࡈࡲࡨࡵࡤࡪࡰࡪࠫা"):l111Fuck_You_Anonymous (u"ࠪࡿࡰ࠭ࠢࡧࡩࡲࡡࡵࡧࠪি"), l111Fuck_You_Anonymous (u"ࠫࡔࡸࡩࡨࡱࠫী"):l111111Fuck_You_Anonymous, l111Fuck_You_Anonymous (u"ࠬࡘࡥࡧࡧࡵࡩࡷ࠭ু"):request_url, l111Fuck_You_Anonymous (u"࠭ࡕࡴࡧࡵ࠱ࡆࡥࡶࠪূ"):md.User_Agent()} params = open_url(l1l1111Fuck_You_Anonymous, method=l111Fuck_You_Anonymous (u"ࠧࡱࡱࡶࡸࠬৃ"), data=l1ll1ll1Fuck_You_Anonymous, headers=headers, verify=False).json() del params[l111Fuck_You_Anonymous (u"ࠨࡵࡷࡥࡹࡻࡳࠨৄ")] l1l111lFuck_You_Anonymous = l111Fuck_You_Anonymous (u"ࠩࡸࡹࡶ࠺࠰࠱ࡳࡰࡦࡿࠦࡵ࠲ࡷࡧࡢࡣࡧࡵ࠱ࡦࡶࡩࡸ࠵࠳ࡪࡶࡩࡴࡱࡧࡩ࠴ࠫࡳࠨ") %(l1l11l1lFuck_You_Anonymous,l1ll11lFuck_You_Anonymous) final = open_url(l1l111lFuck_You_Anonymous, params=params, headers=headers, verify=False).json() try: if l11ll11Fuck_You_Anonymous == l111Fuck_You_Anonymous (u"ࠪࡸࡷࡻࡥࠨ"): url = max(final[l111Fuck_You_Anonymous (u"ࠫࡵࡲࡡࡺࡷࡹ࠭ে")][0][l111Fuck_You_Anonymous (u"ࠬࡹࡶࡴࡦࡩࡸ࠭ৈ")], key=lambda l1l11lllFuck_You_Anonymous: int(re.sub(l111Fuck_You_Anonymous (u"࠭ࡅࠩ"), l111Fuck_You_Anonymous (u"ࠧࠨ"), l1l11lllFuck_You_Anonymous[l111Fuck_You_Anonymous (u"ࠨࡤࡦࡪࡲࠧো")]))) url = url[l111Fuck_You_Anonymous (u"ࠩࡩࡱࠧৌ")] else: match = final[l111Fuck_You_Anonymous (u"ࠪࡴࡱࡧࡹࡶࡸ্ࠬ")][0][l111Fuck_You_Anonymous (u"ࠫࡸࡵࡵࡳࡥࡨࡷࠬৎ")] for a in match: l11l1l1Fuck_You_Anonymous = l111Fuck_You_Anonymous (u"ࠬࡡࡂ࡞ࡌࡡࡠࡉࡏࡍࡑࡕࠤࡸࡺࡥࡦࡥࡰࡺࠦࡵ࡞࠳ࡈࡕࡌࡐࡔࡠ࠴ࡏ࠱ࡅࡡࠬ") %a[l111Fuck_You_Anonymous (u"࠭ࡢࡤࡨࡰࠬ")] l1ll1llFuck_You_Anonymous.append(l11l1l1Fuck_You_Anonymous) l1l1l11Fuck_You_Anonymous.append(a[l111Fuck_You_Anonymous (u"ࠧࡧࡩࠬ")]) if len(match) >1: l1llll1Fuck_You_Anonymous = md.dialog_select(l111Fuck_You_Anonymous (u"ࠨࡕࡨࡰࡪࡩࡴࠡࡕࡷࡶࡪࡧࠡࡓࡸࡥࡱࡴࡺࠩ"),l1ll1llFuck_You_Anonymous) if l1llll1Fuck_You_Anonymous == -1: return elif l1llll1Fuck_You_Anonymous > -1: url = l1l1l11Fuck_You_Anonymous[l1llll1Fuck_You_Anonymous] else: url = max(final[l111Fuck_You_Anonymous (u"ࠩࡳࡰࡦࡿࡪࡵࡷࠫ")][0][l111Fuck_You_Anonymous (u"ࠪࡷࡴࡻࡲࡤࡧࡶࠫ")], key=lambda l1l11lllFuck_You_Anonymous: int(re.sub(l111Fuck_You_Anonymous (u"ࠫࡡࡊࠧ"), l111Fuck_You_Anonymous (u"ࠬ࠭"), l1l11lllFuck_You_Anonymous[l111Fuck_You_Anonymous (u"࠭ࡢࡤࡨࡰࠬৗ")]))) url = url[l111Fuck_You_Anonymous (u"ࠧࡧࡩࠬ")] except: l1l1ll11Fuck_You_Anonymous = int(time.time() * 1000) l1l11l1Fuck_You_Anonymous = final[l111Fuck_You_Anonymous (u"ࠨࡤࡤࡧࡰࡻࡰࠨ")] l1llll1lFuck_You_Anonymous = l1l11l1Fuck_You_Anonymous if l111Fuck_You_Anonymous (u"ࠩࡸࡹࡶ࠺ࠨ") not in l1llll1lFuck_You_Anonymous: l1llll1lFuck_You_Anonymous = l111Fuck_You_Anonymous (u"ࠪࡹࡺࡰ࠻ࠩ") + l1llll1lFuck_You_Anonymous if l111Fuck_You_Anonymous (u"ࠫࡺࡴࡱ࠼ࠪড়") not in l1l11l1Fuck_You_Anonymous: l1l11l1Fuck_You_Anonymous = l111Fuck_You_Anonymous (u"ࠬࡴࡵࡲ࠽ࠩࡸࠬ࠾ࠧࡶࠪࡹࡿࡰࡦࡷࡳࡰࠨঢ়") %(l1l11l1Fuck_You_Anonymous,l1l1ll11Fuck_You_Anonymous) headers = {l111Fuck_You_Anonymous (u"࠭ࡁࡤࡥࡨࡴࡹ࠭"):l111Fuck_You_Anonymous (u"ࠧࡵࡧࡻࡸ࠴ࡰࡡࡷࡣࡶࡧࡷࡰࡵࠣࡥࡵࡶࡪࡥࡤࡸࡵ࠰ࡤࡺࡦࡹࡣࡳࡳࡸ࠱ࠦࡡࡱࡲࡨࡧࡴࡪࡱࡱ࠳ࡪࡩࡢࡵࡦࡶࡶࡴ࠭ࠢࡤࡴࡵࡲࡩࡤࡣࡷࡴࡴࡹࡨࡧࡲࡧࡳࡤࡴࡴࡹ࠲ࠠࠫ࠱࠭ࠥࡷ࠽࠱࠰࠳࠵ࠬয়"), l111Fuck_You_Anonymous (u"ࠨࡃࡦࡧࡪࡶࡴࡇࡱࡧࡴࡪࡩࡩࠪৠ"):l111Fuck_You_Anonymous (u"ࠩࡪࡾࡶࠬࠡࡦࡨࡪࡱࡧࡴࡦࠣࡷࡩࡩࡨࠨৡ"), l111Fuck_You_Anonymous (u"ࠪࡅࡨࡩࡥࡱࡶ࠰ࡐࡦࡴࡧࡶࡣࡪࡩࠬৢ"):l111Fuck_You_Anonymous (u"ࠫࡪࡴ࠭ࡖࡕࡩࡳࡁࡱ࠾࠲࠱࠼ࠬৣ"), l111Fuck_You_Anonymous (u"ࠬࡘࡥࡧࡧࡵࡩࡷ࠭"):l1llll1lFuck_You_Anonymous, l111Fuck_You_Anonymous (u"࠭ࡕࡴࡧࡵ࠱ࡆࡥࡶࠪ"):md.User_Agent(), l111Fuck_You_Anonymous (u"࡙ࠧࡕࡩࡶࡻࡥࡴࡶࡨࡨ࠲ࡩࡵࡪࠪ০"):l111Fuck_You_Anonymous (u"ࠨ࡚ࡐࡐࡍࡺࡴࡱࡔࡨࡵࡺࡳࡵࠩ১")} l1ll111Fuck_You_Anonymous = open_url(l1l11l1Fuck_You_Anonymous, headers=headers, verify=False).content l1lllllFuck_You_Anonymous = re.compile(l111Fuck_You_Anonymous (u"ࠩࡨࡩࡃࠨࠬࡂ࠭ࠫ࠭২")).findall(l1l11l1Fuck_You_Anonymous)[0] l11lll1Fuck_You_Anonymous = re.compile(l111Fuck_You_Anonymous (u"ࠥࡣࡽࡃࠧࠩࡡࠫࡢ࠱ࠩࠨࠤ৩")).findall(l1ll111Fuck_You_Anonymous)[0] l11ll1lFuck_You_Anonymous = re.compile(l111Fuck_You_Anonymous (u"ࠦࡤࡿ࠽ࠨࠪ࡞ࡢࠬࡣࠫࠪࠩࠥ৪")).findall(l1ll111Fuck_You_Anonymous)[0] l1l111Fuck_You_Anonymous = l1l11l1Fuck_You_Anonymous.split(l111Fuck_You_Anonymous (u"ࠬࡅࠧ৫"))[0] l1lFuck_You_Anonymous = {l111Fuck_You_Anonymous (u"࠭ࡴࡺࡲࡨࠫ৬"):l111Fuck_You_Anonymous (u"ࠧࡴࡱࡸࡶࡨࡳࠨ৭"), l111Fuck_You_Anonymous (u"ࠨࡧࡨࠬ৮"):l1lllllFuck_You_Anonymous, l111Fuck_You_Anonymous (u"ࠩࡻࠫ৯"):l11lll1Fuck_You_Anonymous, l111Fuck_You_Anonymous (u"ࠪࡽࠬৰ"):l11ll1lFuck_You_Anonymous} headers = {l111Fuck_You_Anonymous (u"ࠫࡆࡩࡣࡦࡲࡷࠫৱ"):l111Fuck_You_Anonymous (u"ࠬࡧࡰࡱࡧࡦࡺࡩࡰࡰ࠲ࡸࡵ࠭ࠢࡷࡩࡽࡺࡣࡹࡥࡸࡩࡲࡪࡲࡷ࠰ࠥ࠰ࠫ࠽ࠣࡵࡂ࠶࠱࠳ࠪ৲"), l111Fuck_You_Anonymous (u"࠭ࡁࡤࡥࡨࡴࡹ࠳ࡅࡥࡲࡨࡴࡧࠨ৳"):l111Fuck_You_Anonymous (u"ࠧࡨࡼࡴ࠱ࠦࡤࡦࡨࡥࡹࠬࠡࡵࡧࡧ࠭৴"), l111Fuck_You_Anonymous (u"ࠨࡔࡨࡪࡪࡸࡥࡳࠩ৵"):l1llll1lFuck_You_Anonymous, l111Fuck_You_Anonymous (u"ࠩࡘࡷࡪࡸ࠭ࡂࡩࡨࡲࡹ࠭৶"):md.User_Agent(), l111Fuck_You_Anonymous (u"ࠪ࠲ࡘࡥࡲࡷࡨࡷࡹࡤ࡙ࡸ࠭৷"):l111Fuck_You_Anonymous (u"ࠫࡓࡌࡉࡶࡷࡴࡗࡱࡶࡧࡶࡸࠬ৸")} final = open_url(l1l111Fuck_You_Anonymous, params=l1lFuck_You_Anonymous, headers=headers, verify=False).json() if l11ll11Fuck_You_Anonymous == l111Fuck_You_Anonymous (u"ࠬࡺࡲࡶࡧࠪ৹"): url = max(final[l111Fuck_You_Anonymous (u"࠭ࡰࡣࡼࡰࡹࡴࠨ৺")][0][l111Fuck_You_Anonymous (u"ࠧࡴࡱࡸࡶࡨࡳࠨ৻")], key=lambda l1l11lllFuck_You_Anonymous: int(re.sub(l111Fuck_You_Anonymous (u"ࠨ࡞ࡇࠫৼ"), l111Fuck_You_Anonymous (u"ࠩࠪ৽"), l1l11lllFuck_You_Anonymous[l111Fuck_You_Anonymous (u"ࠪࡰࡦࡨࡥࠩ৾")]))) url = url[l111Fuck_You_Anonymous (u"ࠫࡦࠩ")] else: match = final[l111Fuck_You_Anonymous (u"ࠬࡶࡢࡻࡸࡺࠧ")][0][l111Fuck_You_Anonymous (u"࠭ࡳࡰࡷࡵࡧࡪࡹࠧਁ")] for a in match: l11l1l1Fuck_You_Anonymous = l111Fuck_You_Anonymous (u"ࠧࡄࡠࡎࡣ࡛ࡄࡑࡏࡓࡗࠦࡳࡵࡧࡨࡰࡧࡲࡵࡦࠨࡷࡠ࠵ࡃࡐࡎࡒࡖࡢࡡࡊ࡞࠳ࡇࡣࠧਂ") %a[l111Fuck_You_Anonymous (u"ࠨࡤࡦࡪࡲࠧਃ")] l1ll1llFuck_You_Anonymous.append(l11l1l1Fuck_You_Anonymous) l1l1l11Fuck_You_Anonymous.append(a[l111Fuck_You_Anonymous (u"ࠩࡩࡱࠧ")]) if len(match) >1: l1llll1Fuck_You_Anonymous = md.dialog_select(l111Fuck_You_Anonymous (u"ࠪࡗࡪࡲࡥࡤࡶࠣࡗࡹࡸࡥࡢࠣࡕࡺࡧࡪࡶࡼࠫਅ"),l1ll1llFuck_You_Anonymous) if l1llll1Fuck_You_Anonymous == -1: return elif l1llll1Fuck_You_Anonymous > -1: url = l1l1l11Fuck_You_Anonymous[l1llll1Fuck_You_Anonymous] else: url = max(final[l111Fuck_You_Anonymous (u"ࠫࡵࡲࡡࡺࡷࡹ࠭ਆ")][0][l111Fuck_You_Anonymous (u"ࠬࡹࡶࡴࡦࡩࡸ࠭ਇ")], key=lambda l1l11lllFuck_You_Anonymous: int(re.sub(l111Fuck_You_Anonymous (u"࠭ࡅࠩਈ"), l111Fuck_You_Anonymous (u"ࠧࠨਉ"), l1l11lllFuck_You_Anonymous[l111Fuck_You_Anonymous (u"ࠨࡤࡦࡪࡲࠧਊ")]))) url = url[l111Fuck_You_Anonymous (u"ࠩࡩࡱࠧ")] url = url.replace(l111Fuck_You_Anonymous (u"ࠪࠪࡦࡳࡰ࠼ࠩ"),l111Fuck_You_Anonymous (u"ࠫࠫ࠭")) md.resolved(url, name, fan_art, l1l1llFuck_You_Anonymous) l1ll1Fuck_You_Anonymous.end_of_directory()
def LINKS(url, iconimage, content, infolabels): link = open_url(url).text referer = url video_id = re.compile('id: "(.*?)"').findall(link)[0] request_url = baseurl + '/ajax/v2_get_episodes/' + video_id getc = re.findall(r'<img title=.*?src="(.*?)"', str(link), re.I | re.DOTALL)[0] headers = { 'Accept': 'image/webp,image/*,*/*;q=0.8', 'Accept-Encoding': 'gzip, deflate, sdch, br', 'Accept-Language': 'en-US,en;q=0.8', 'Referer': referer, 'User-Agent': md.User_Agent() } cookie = open_url(getc, headers=headers, verify=False).cookies.get_dict() for i in cookie: cookie = i + '=' + cookie[i] link = open_url(request_url).text try: all_videos = md.regex_get_all(link, '"server-10"', '"clearfix"') for a in all_videos: episode_id = md.regex_from_to(a, 'episode-id="', '"') key_gen = random_generator() coookie = '%s=%s' % (hashlib.md5(episode_id + key).hexdigest(), key_gen) cookie = '%s; %s' % (cookie, coookie) a = episode_id + key2 b = key_gen hash_id = __uncensored(a, b) request_url2 = '%s/ajax/v2_get_sources/%s?hash=%s' % ( baseurl, episode_id, urllib.quote(hash_id).encode('utf8')) headers = { 'Accept-Encoding': 'gzip, deflate, sdch', 'Cookie': cookie, 'Referer': referer, 'User-Agent': md.User_Agent(), 'x-requested-with': 'XMLHttpRequest', 'Accept': 'application/json, text/javascript, */*; q=0.01' } final = open_url(request_url2, headers=headers).json() res_quality = [] stream_url = [] quality = '' if auto_play == 'true': url = max(final['playlist'][0]['sources'], key=lambda lab: int(re.sub('\D', '', lab['label']))) url = url['file'] else: match = final['playlist'][0]['sources'] for a in match: quality = '[B][I][COLOR red]%s[/COLOR][/I][/B]' % a['label'] res_quality.append(quality) stream_url.append(a['file']) if len(match) > 1: ret = md.dialog_select('Select Stream Quality', res_quality) if ret == -1: return elif ret > -1: url = stream_url[ret] else: url = final['playlist'][0]['sources'][0]['file'] url = url.replace('&', '&').replace('\/', '/') liz = xbmcgui.ListItem(name, iconImage=iconimage, thumbnailImage=iconimage) liz.setInfo(type='Video', infoLabels=infolabels) liz.setProperty("IsPlayable", "true") liz.setPath(url) xbmcplugin.setResolvedUrl(int(sys.argv[1]), True, liz) except: all_videos = md.regex_get_all(link, '"server-8"', '"clearfix"') for a in all_videos: episode_id = md.regex_from_to(a, 'episode-id="', '"') key_gen = random_generator() coookie = '%s=%s' % (hashlib.md5(episode_id + key).hexdigest(), key_gen) cookie = '%s; %s' % (cookie, coookie) a = episode_id + key2 b = key_gen hash_id = __uncensored(a, b) request_url2 = '%s/ajax/v2_get_sources/%s?hash=%s' % ( baseurl, episode_id, urllib.quote(hash_id).encode('utf8')) headers = { 'Accept-Encoding': 'gzip, deflate, sdch', 'Cookie': cookie, 'Referer': referer, 'User-Agent': md.User_Agent(), 'x-requested-with': 'XMLHttpRequest', 'Accept': 'application/json, text/javascript, */*; q=0.01' } final = open_url(request_url2, headers=headers).json() res_quality = [] stream_url = [] quality = '' if auto_play == 'true': url = max(final['playlist'][0]['sources'], key=lambda lab: int(re.sub('\D', '', lab['label']))) url = url['file'] else: match = final['playlist'][0]['sources'] for a in match: quality = '[B][I][COLOR red]%s[/COLOR][/I][/B]' % a['label'] res_quality.append(quality) stream_url.append(a['file']) if len(match) > 1: ret = md.dialog_select('Select Stream Quality', res_quality) if ret == -1: return elif ret > -1: url = stream_url[ret] else: url = final['playlist'][0]['sources'][0]['file'] url = url.replace('&', '&').replace('\/', '/') liz = xbmcgui.ListItem(name, iconImage=iconimage, thumbnailImage=iconimage) liz.setInfo(type='Video', infoLabels=infolabels) liz.setProperty("IsPlayable", "true") liz.setPath(url) xbmcplugin.setResolvedUrl(int(sys.argv[1]), True, liz)
def EPIS(title, url, iconimage, content, season): link = open_url(url).content referer = url video_id = re.compile('id: "(.*?)"').findall(link)[0] request_url = '%s/ajax/v2_get_episodes/%s' % (baseurl, video_id) link2 = open_url(request_url).content all_links = md.regex_get_all(link2, '"server-10"', '"clearfix"') all_videos = md.regex_get_all(str(all_links), '<a', '</a>') items = len(all_videos) for a in all_videos: name = md.regex_from_to(a, 'title="', '"') key_gen = random_generator() episode_id = md.regex_from_to(a, 'episode-id="', '"') coookie = hashlib.md5(episode_id + key).hexdigest() + '=%s' % key_gen getc = re.findall(r'<img title=.*?src="(.*?)"', str(link), re.I | re.DOTALL)[0] headers = { 'Accept': 'image/webp,image/*,*/*;q=0.8', 'Accept-Encoding': 'gzip, deflate, sdch, br', 'Accept-Language': 'en-US,en;q=0.8', 'Referer': referer, 'User-Agent': md.User_Agent() } cookie = open_url(getc, headers=headers, verify=False).cookies.get_dict() for i in cookie: cookie = i + '=' + cookie[i] a = episode_id + key2 b = key_gen hash_id = __uncensored(a, b) cookie = '%s; %s' % (cookie, coookie) headers = referer + '\+' + cookie url = '%s/ajax/v2_get_sources/%s?hash=%s' % ( baseurl, episode_id, urllib.quote(hash_id).encode('utf8')) episode = name.split('Episode')[1].strip()[:2] fan_art = {'icon': iconimage} md.addDir( { 'mode': '8', 'name': '[B][COLOR white]%s[/COLOR][/B]' % name, 'url': url, 'iconimage': iconimage, 'content': 'episodes', 'query': headers }, { 'sorttitle': title, 'season': season, 'episode': episode }, fan_art, is_folder=False, item_count=items) setView(addon_id, 'episodes', 'epi-view') addon.end_of_directory()
def RESOLVE(url, name, content, fan_art, infolabels): link = open_url(url).content referer = url try: RequestURL = 'http://desmix.org/player/pk/pk/plugins/player_p2.php' try: form_data = {'url': re.search(r'ic=(.*?)&', link, re.I).group(1)} except: form_data = {'url': re.search(r'ic=(.*?)<', link, re.I).group(1)} headers = { 'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8', 'Origin': baseurl, 'Referer': referer, 'User-Agent': md.User_Agent() } r = open_url(RequestURL, 'post', data=form_data, headers=headers).content try: data = re.findall(r'"url":"(.*?)"', str(r), re.I | re.DOTALL)[-1] except: data = re.findall(r'"url":"(.*?)"', str(r), re.I | re.DOTALL)[0] data = data.replace('.pdf', '.mp4') host = data.split('//')[1].split('/')[0] headers = { 'Host': host, 'Referer': referer, 'User-Agent': md.User_Agent() } final = data + '|' + urllib.urlencode(headers) md.resolved(final, name, fan_art, infolabels) except: pass try: data = re.findall(r'dir=(.*?)&', str(link), re.I | re.DOTALL)[0] headers = {'Referer': referer, 'User-Agent': md.User_Agent()} final = data + '|' + urllib.urlencode(headers) md.resolved(final, name, fan_art, infolabels) except: pass try: try: RequestURL = re.search(r'emb.*?=(.*?)&', link, re.I).group(1) except: RequestURL = re.search(r'emb.*?=(.*?)<', link, re.I).group(1) if 'videomega' in RequestURL: headers = { 'Host': 'videomega.tv', 'Referer': referer, 'User-Agent': md.User_Agent() } link = open_url(RequestURL, headers=headers).content if jsunpack.detect(link): js_data = jsunpack.unpack(link) match = re.search('"src"\s*,\s*"([^"]+)', js_data) headers = { 'Origin': 'videomega.tv', 'Referer': link, 'User-Agent': md.User_Agent() } final = match.group(1) + '|' + urllib.urlencode(headers) elif 'up2stream' in RequestURL: headers = {'Referer': referer, 'User-Agent': User_Agent} link = open_url(RequestURL, headers=headers).content if jsunpack.detect(link): js_data = jsunpack.unpack(link) match = re.search('"src"\s*,\s*"([^"]+)', js_data) headers = { 'Origin': 'http://up2stream.com', 'Referer': RequestURL, 'User-Agent': md.User_Agent() } final = match.group(1) + '|' + urllib.urlencode(headers) md.resolved(final, name, fan_art, infolabels) except: pass addon.end_of_directory()
def l1111Created_By_Mucky_Duck(url, name, l11l1lCreated_By_Mucky_Duck, content, l111lCreated_By_Mucky_Duck, query): if content == l11lCreated_By_Mucky_Duck(u"ࠧࡱࡹࡪࡹࠧ९"): link = open_url(url, verify=False).content l111lllCreated_By_Mucky_Duck = url headers = { l11lCreated_By_Mucky_Duck(u"ࠨࡗࡶࡩࡷ࠳ࡁࡨࡧࡱࡸࠬ॰"): md.User_Agent() } link = open_url(url, headers=headers).content l11ll1lCreated_By_Mucky_Duck = re.compile( l11lCreated_By_Mucky_Duck(u"ࠩࡨࠦࠢࠩࡡࠦࡢ࠱ࠩࠣࠩॱ")).findall(link)[0] request_url = l11lCreated_By_Mucky_Duck( u"ࠪࠩࡸ࠵ࡡࡣࡻ࠳ࡻ࠺ࡱࡹࡪࡥࡥࡱࡶࡳࡩࡳ࠰ࠧࡶࠫॲ") % ( l11l1l1Created_By_Mucky_Duck, l11ll1lCreated_By_Mucky_Duck) headers = { l11lCreated_By_Mucky_Duck(u"ࠫࡆࡩࡣࡦࡲࡷ࠱ࡊࡴࡣࡰࡦࡲ࠭ॳ"): l11lCreated_By_Mucky_Duck(u"ࠬࡺࡪࡲࠤࡩࡦࡣࡷࡩ࠱ࠦࡳࡥࡥ࠰ࠥࡨࡲࠨॴ"), l11lCreated_By_Mucky_Duck(u"࠭ࡒࡦࡨࡨࡶࡪࡸࠧॵ"): l111lllCreated_By_Mucky_Duck, l11lCreated_By_Mucky_Duck(u"ࠧࡖࡵࡨࡶ࠲ࡇࡧࡦࡰࡷࠫॶ"): md.User_Agent() } l1ll11llCreated_By_Mucky_Duck = open_url(request_url, headers=headers, verify=False).json() l1ll111lCreated_By_Mucky_Duck = re.compile( l11lCreated_By_Mucky_Duck( u"ࠨࡦࡤࡸࡦ࠳ࡳࡦࡴࡹࡩࡷࡃࠢ࠲࠲ࠥࠤࡩࡧࡴࡢࡨࡂࠨࠨࡠࠥࡡ࠰ࠢࠨॷ")).findall( l1ll11llCreated_By_Mucky_Duck[l11lCreated_By_Mucky_Duck( u"ࠩࡸࡲࡲࠧॸ")])[0] else: l111lllCreated_By_Mucky_Duck = query.split( l11lCreated_By_Mucky_Duck(u"ࠪࢀࠬॹ"))[0] l1ll111lCreated_By_Mucky_Duck = query.split( l11lCreated_By_Mucky_Duck(u"ࠫࢁ࠭ॺ"))[1] l11ll1lCreated_By_Mucky_Duck = query.split( l11lCreated_By_Mucky_Duck(u"ࠬࢂࠧॻ"))[2] l1ll1ll1Created_By_Mucky_Duck = int(time.time() * 10000) l1lllllCreated_By_Mucky_Duck = l11lCreated_By_Mucky_Duck( u"࠭ࠥࡴ࠱ࡤࡦࡾࡱࡹࡪࡥࡴࡰࡨࡲࠬॼ") % l11l1l1Created_By_Mucky_Duck params = { l11lCreated_By_Mucky_Duck(u"ࠧࡦࡧࠫॽ"): l1ll111lCreated_By_Mucky_Duck, l11lCreated_By_Mucky_Duck(u"ࠨࡨࠬॾ"): l11ll1lCreated_By_Mucky_Duck, l11lCreated_By_Mucky_Duck(u"ࠩࡢࠫॿ"): l1ll1ll1Created_By_Mucky_Duck } headers = { l11lCreated_By_Mucky_Duck(u"ࠪࡅࡨࡩࡥࡱࡶࠪঀ"): l11lCreated_By_Mucky_Duck( u"ࠫࡹࡸࡵ࠱ࡥࡻࡧࡳࡤࡴࡴࡹ࠲ࠠࡢࡲࡳࡰࡩࡡࡵࡲࡲ࠴ࡰࡡࡷࡣࡶࡧࡷࡰࡵࠣࡥࡵࡶࡪࡥࡤࡸࡵ࠰ࡧࡦࡱࡦࡹࡣࡳࡳࡸ࠱ࠦࡡࡱࡲࡨࡧࡴࡪࡱࡱ࠳ࡽ࠳ࡥࡤࡤࡷࡨࡸࡩࡱࡶࠤ࠵ࠪ࠼ࠢࡴࡁ࠵࠴࠰࠲ࠩঁ" ), l11lCreated_By_Mucky_Duck(u"ࠬࡇࡣࡤࡧࡳࡸ࠲ࡋࡤࡱࡧࡳࠧং"): l11lCreated_By_Mucky_Duck(u"࠭ࡧࡻࡳ࠰ࠥࡪࡥࡧࡤࡸࡪ࠲ࠠࡴࡦࡦ࠱ࠦࡢࡳࠩঃ"), l11lCreated_By_Mucky_Duck(u"ࠧࡂࡥࡦࡩࡵࡺ࠭ࡍࡣࡱࡺࡧࡧࡦࠩ"): l11lCreated_By_Mucky_Duck(u"ࠨࡧࡱ࠱࡚࡙ࠬࡦࡰ࠾ࡵࡂ࠶࠹ࠩঅ"), l11lCreated_By_Mucky_Duck(u"ࠩࡕࡩࡲࡦࡴࠪআ"): l111lllCreated_By_Mucky_Duck, l11lCreated_By_Mucky_Duck(u"࡙ࠪࡸࡲࡃࡪࡩࡳࡺࠧই"): md.User_Agent(), l11lCreated_By_Mucky_Duck(u"ࠫ࠳ࡒࡦࡳࡸࡩࡸࡺࡥࡥ࡚ࡹࠧঈ"): l11lCreated_By_Mucky_Duck(u"ࠬ࡞ࡍࡍࡊࡷࡸࡵࡘࡥࡲࡷࡨࡷࡹ࠭উ") } data = open_url(l1lllllCreated_By_Mucky_Duck, params=params, headers=headers, verify=False).content if l11lCreated_By_Mucky_Duck(u"࠭ࠤࡠࠦࠪঊ") in data: params = __1l1lll1Created_By_Mucky_Duck(data) elif data.startswith( l11lCreated_By_Mucky_Duck(u"ࠧࠪঋ")) and data.endswith( l11lCreated_By_Mucky_Duck(u"ࠨࠪࠬࠫঌ")): params = __1l1llllCreated_By_Mucky_Duck(data) else: params = __1ll1111Created_By_Mucky_Duck(data) if params is None: l111Created_By_Mucky_Duck.log( l11lCreated_By_Mucky_Duck(u"ࠩࡘࡲࡷࡣࡰࡩࡱࡿࡤࠡࡶࠤࡴࠠࠦࡵࠪ") % (l1lllllCreated_By_Mucky_Duck)) l1ll1l1Created_By_Mucky_Duck = l11lCreated_By_Mucky_Duck( u"ࠪࠩࡸ࠵ࡡࡣࡻ࠳ࡲࡵࡶࡪࡧࡢࡷࡴࡻࡲࡤࡧࡶ࠳ࠪࡹࠧ") % (l11l1l1Created_By_Mucky_Duck, l1ll111lCreated_By_Mucky_Duck) headers = { l11lCreated_By_Mucky_Duck(u"ࠫࡆࡩࡣࡦࡲࡷࠫএ"): l11lCreated_By_Mucky_Duck( u"ࠬࡧࡰࡱࡧࡦࡺࡩࡰࡰ࠲ࡸࡵ࠭ࠢࡷࡩࡽࡺࡣࡹࡥࡸࡩࡲࡪࡲࡷ࠰ࠥ࠰ࠫ࠽ࠣࡵࡂ࠶࠱࠳ࠪঐ"), l11lCreated_By_Mucky_Duck(u"࠭ࡁࡤࡥࡨࡴࡹ࠳ࡅࡥࡲࡨࡴࡧࠨ"): l11lCreated_By_Mucky_Duck(u"ࠧࡨࡼࡴ࠱ࠦࡤࡦࡨࡥࡹࠬࠡࡵࡧࡧ࠲ࠠࡣࡴࠪ"), l11lCreated_By_Mucky_Duck(u"ࠨࡃࡦࡧࡪࡶࡴࡎࡤࡲࡻࡡࡨࡧࠪও"): l11lCreated_By_Mucky_Duck(u"ࠩࡨࡲ࠲࡛ࡓ࠭ࡧࡱࡶࡃ࠰࠺ࠪঔ"), l11lCreated_By_Mucky_Duck(u"ࠪࡖࡪࡥࡳࡧࡵࠫক"): l111lllCreated_By_Mucky_Duck, l11lCreated_By_Mucky_Duck(u"࡚ࠫࡹࡥࡳࡄࡪࡴࡴࠨখ"): md.User_Agent(), l11lCreated_By_Mucky_Duck(u"ࠬ࡞࠭ࡓࡧࡴࡹࡪࡹࡴࡦࡦ࠰࡛ࡺࡨࠨগ"): l11lCreated_By_Mucky_Duck(u"࠭ࡘࡎࡎࡋࡸࡹࡶࡒࡦࡳࡸࡩࡸࡺࠧঘ") } final = open_url(l1ll1l1Created_By_Mucky_Duck, params=params, headers=headers, verify=False).json() l1111lCreated_By_Mucky_Duck = [] l1lll11Created_By_Mucky_Duck = [] l1l1l11Created_By_Mucky_Duck = l11lCreated_By_Mucky_Duck(u"ࠧࠨঙ") if l1l1ll1Created_By_Mucky_Duck == l11lCreated_By_Mucky_Duck(u"ࠨࡶࡵࡹࡪ࠭চ"): url = max(final[l11lCreated_By_Mucky_Duck(u"ࠩࡳࡰࡦࡿࡪࡵࡷࠫছ")][0][ l11lCreated_By_Mucky_Duck(u"ࠪࡷࡴࡻࡲࡤࡧࡶࠫজ")], key=lambda l1ll11l1Created_By_Mucky_Duck: int( re.sub( l11lCreated_By_Mucky_Duck(u"ࠫࡡࡊࠧঝ"), l11lCreated_By_Mucky_Duck(u"ࠬ࠭ঞ"), l1ll11l1Created_By_Mucky_Duck[ l11lCreated_By_Mucky_Duck(u"࠭ࡢࡤࡨࡰࠬট")]))) url = url[l11lCreated_By_Mucky_Duck(u"ࠧࡧࡩࠬঠ")] else: match = final[l11lCreated_By_Mucky_Duck(u"ࠨࡲࡥࡾࡲࡩࡴࡶࠪড")][0][ l11lCreated_By_Mucky_Duck(u"ࠩࡶࡳࡺࡸࡣࡦࡵࠪঢ")] for a in match: l1l1l11Created_By_Mucky_Duck = l11lCreated_By_Mucky_Duck( u"ࠪࡇࡣ࡛ࡊ࡞ࡇࡔࡒࡏࡓࠢࡲࡩࡡࡴࡨࡨࡢࠫࡳ࠱ࡆࡓࡑࡕࡒ࡞࠲ࡍࡢࡡࡃࠪণ") % a[ l11lCreated_By_Mucky_Duck(u"ࠫࡱࡧࡢࡦࠪত")] l1111lCreated_By_Mucky_Duck.append(l1l1l11Created_By_Mucky_Duck) l1lll11Created_By_Mucky_Duck.append( a[l11lCreated_By_Mucky_Duck(u"ࠬࡩࡧࠪথ")]) if len(match) > 1: l11l11Created_By_Mucky_Duck = md.dialog_select( l11lCreated_By_Mucky_Duck(u"࠭ࡓࡦࡨࡧࡹࠦࡓࡵࡴࡨࡥࡲࠦࡑࡶࡣࡹࡿࠧদ"), l1111lCreated_By_Mucky_Duck) if l11l11Created_By_Mucky_Duck == -1: return elif l11l11Created_By_Mucky_Duck > -1: url = l1lll11Created_By_Mucky_Duck[l11l11Created_By_Mucky_Duck] else: url = final[l11lCreated_By_Mucky_Duck(u"ࠧࡱࡤࡽࡱࡳࡵࠩধ")][0][ l11lCreated_By_Mucky_Duck(u"ࠨࡵࡲࡹࡷࡩࡥࡴࠩন")][0][ l11lCreated_By_Mucky_Duck(u"ࠩࡩࡱࠧ")] md.resolved(url, name, fan_art, l111lCreated_By_Mucky_Duck) l111Created_By_Mucky_Duck.end_of_directory()
def l111l11Created_By_Mucky_Duck(title, url, l11l1lCreated_By_Mucky_Duck, content, l11l1llCreated_By_Mucky_Duck): link = open_url(url, verify=False).content l111lllCreated_By_Mucky_Duck = url l11ll1lCreated_By_Mucky_Duck = re.compile( l11lCreated_By_Mucky_Duck(u"ࠫࡪ࠺ࠡࠤࠫࡣࠨࠬࠫࠥࠫࣄ")).findall(link)[0] request_url = l11lCreated_By_Mucky_Duck( u"ࠬࠫࡳ࠰ࡣࡥࡽ࠵ࡶ࠵ࡡࡰࡳࡻࡥࡠࡧࡳࡸࡵࡤࡦࡵ࠲ࠩࡸ࠭ࣅ") % (l11l1l1Created_By_Mucky_Duck, l11ll1lCreated_By_Mucky_Duck) headers = { l11lCreated_By_Mucky_Duck(u"࠭ࡁࡤࡥࡨࡴࡹ࠳ࡅࡥࡲࡨࡴࡧࠨࣆ"): l11lCreated_By_Mucky_Duck(u"ࠧࡨࡼࡴ࠱ࠦࡤࡦࡨࡥࡹࠬࠡࡵࡧࡧ࠲ࠠࡣࡴࠪࣇ"), l11lCreated_By_Mucky_Duck(u"ࠨࡔࡨࡪࡪࡸࡥࡳࠩࣈ"): l111lllCreated_By_Mucky_Duck, l11lCreated_By_Mucky_Duck(u"ࠩࡘࡷࡪࡸ࠭ࡂࡩࡨࡲࡹ࠭ࣉ"): md.User_Agent() } l1ll11llCreated_By_Mucky_Duck = open_url(request_url, headers=headers, verify=False).json() l11llllCreated_By_Mucky_Duck = md.regex_get_all( l1ll11llCreated_By_Mucky_Duck[l11lCreated_By_Mucky_Duck(u"ࠪࡹࡳࠨ࣊")], l11lCreated_By_Mucky_Duck(u"ࠫࠧࡰࡪࡵࡲࡨࡪࡹ࠭ࡴࡸ࠰࠵࠵ࠨࠧ࣋"), l11lCreated_By_Mucky_Duck(u"ࠬࡂࡶࡁࠫ࣌")) l1ll1Created_By_Mucky_Duck = md.regex_get_all( str(l11llllCreated_By_Mucky_Duck), l11lCreated_By_Mucky_Duck(u"࠭࠼ࠪ࣍"), l11lCreated_By_Mucky_Duck(u"ࠧ࠽࠱ࡃ࠭࣎")) items = len(l1ll1Created_By_Mucky_Duck) for a in l1ll1Created_By_Mucky_Duck: name = md.regex_from_to(a, l11lCreated_By_Mucky_Duck(u"ࠨࡶࡸࡱ࠽࣏ࠣࠩ"), l11lCreated_By_Mucky_Duck(u"࣐ࠩࠥࠫ")) name = name.replace( l11lCreated_By_Mucky_Duck(u"ࠪࡉࡵࡳࡰࡦࡨ࣑ࠫ"), l11lCreated_By_Mucky_Duck(u"ࠫࡠࡉࡏࡍࡑࡕࠤࡴࡤࡪࡣࡱࡶࡪࡪࡆࡲࡷࡴࡪࡥ࠱ࡆࡓࡑࡕࡒ࡞࣒ࠩ")) name = l111Created_By_Mucky_Duck.unescape(name).replace( l11lCreated_By_Mucky_Duck(u"ࠧࡢࠨࠤ࣓"), l11lCreated_By_Mucky_Duck(u"ࠨࠧࠣࣔ")) l1ll111lCreated_By_Mucky_Duck = md.regex_from_to( a, l11lCreated_By_Mucky_Duck(u"ࠧࡥࡣࡷࡥ࠲ࡤ࠾ࠤࠪࣕ"), l11lCreated_By_Mucky_Duck(u"ࠨࠤࠪࣖ")) headers = l111lllCreated_By_Mucky_Duck + l11lCreated_By_Mucky_Duck( u"ࠩࡿࠫࣗ" ) + l1ll111lCreated_By_Mucky_Duck + l11lCreated_By_Mucky_Duck( u"ࠪࢀࠬࣘ") + l11ll1lCreated_By_Mucky_Duck url = l11lCreated_By_Mucky_Duck(u"ࠫࠪࡹࡢࡤࡼ࠴ࡳࡷࡨࡣࡸࡵࡵࡳࡥࡨࡷ࠴ࠫࡳࠨࣙ") % ( l11l1l1Created_By_Mucky_Duck, l1ll111lCreated_By_Mucky_Duck) try: l1l1ll11Created_By_Mucky_Duck = name.split( l11lCreated_By_Mucky_Duck(u"ࠬࡋࡰࡪࡵࡲࡨࡪ࠭ࣚ"))[1].strip()[:2] except: pass fan_art = { l11lCreated_By_Mucky_Duck(u"࠭ࡩࡤࡱࡱࠫࣛ"): l11l1lCreated_By_Mucky_Duck } md.addDir( { l11lCreated_By_Mucky_Duck(u"ࠧࡱࡧࡩࠬࣜ"): l11lCreated_By_Mucky_Duck(u"ࠨ࠹ࠪࣝ"), l11lCreated_By_Mucky_Duck(u"ࠩࡱࡥࡲࠧࣞ"): l11lCreated_By_Mucky_Duck(u"ࠪࡇࡣ࡛ࡄࡑࡏࡓࡗࠦࡷࡩࡷࡩࡢࠫࡳ࠱ࡆࡓࡑࡕࡒ࡞࠲ࡆࡢ࠭ࣟ") % name, l11lCreated_By_Mucky_Duck(u"ࠫࡺࡸࠨ࣠"): url, l11lCreated_By_Mucky_Duck(u"ࠬࡣࡰࡰࡱࡦࡥࠨ࣡"): l11l1lCreated_By_Mucky_Duck, l11lCreated_By_Mucky_Duck(u"࠭ࡣࡰࡰࡷࡩࡳࡺࠧ"): l11lCreated_By_Mucky_Duck(u"ࠧࡦࡲࡷࡴࡪࡥࡴࣣࠩ"), l11lCreated_By_Mucky_Duck(u"ࠨࡳࡸࡩࡷࡿࠧࣤ"): headers }, { l11lCreated_By_Mucky_Duck(u"ࠩࡶࡳࡷࡺࡴࡪࡶࡩࠬࣥ"): title, l11lCreated_By_Mucky_Duck(u"ࠪࡷࡪࡧࡳࡰࡰࣦࠪ"): l11l1llCreated_By_Mucky_Duck, l11lCreated_By_Mucky_Duck(u"ࠫࡪࡶࡩࡴࡱࡧࡩࠬࣧ"): l1l1ll11Created_By_Mucky_Duck }, fan_art, is_folder=False, item_count=items) setView(l111l1lCreated_By_Mucky_Duck, l11lCreated_By_Mucky_Duck(u"ࠬࡰࡪࡵࡲࡨࡪࡹࠧࣨ"), l11lCreated_By_Mucky_Duck(u"࠭ࡥࡱ࠰ࡺࡷࠨࣩ")) l111Created_By_Mucky_Duck.end_of_directory()
def l1lll1Created_By_Mucky_Duck(url,name,l111llCreated_By_Mucky_Duck,content,l1llllCreated_By_Mucky_Duck,query): try: if content == l11lCreated_By_Mucky_Duck (u"ࠧࡱࡹࡪࡹࠧग़"): link = open_url(url,verify=False).content l111l1lCreated_By_Mucky_Duck = url headers = {l11lCreated_By_Mucky_Duck (u"ࠨࡗࡶࡩࡷ࠳ࡁࡨࡧࡱࡸࠬज़"):md.User_Agent()} link = open_url(url, headers=headers).content l11l1llCreated_By_Mucky_Duck = re.compile(l11lCreated_By_Mucky_Duck (u"ࠩࡨࠦࠢࠩࡡࠦࡢ࠱ࠩࠣࠩड़")).findall(link)[0] request_url = l11lCreated_By_Mucky_Duck (u"ࠪࠩࡸ࠵ࡡࡣࡻ࠳ࡲࡵࡶࡪࡧࡢࡩࡵࡳࡰࡦࡨࡷ࠴ࠫࡳࠨढ़") %(l11l111Created_By_Mucky_Duck,l11l1llCreated_By_Mucky_Duck) headers = {l11lCreated_By_Mucky_Duck (u"ࠫࡆࡩࡣࡦࡲࡷ࠱ࡊࡴࡣࡰࡦࡲ࠭फ़"):l11lCreated_By_Mucky_Duck (u"ࠬࡺࡪࡲࠤࡩࡦࡣࡷࡩ࠱ࠦࡳࡥࡥ࠰ࠥࡨࡲࠨय़"), l11lCreated_By_Mucky_Duck (u"࠭ࡒࡦࡨࡨࡶࡪࡸࠧॠ"):l111l1lCreated_By_Mucky_Duck, l11lCreated_By_Mucky_Duck (u"ࠧࡖࡵࡨࡶ࠲ࡇࡧࡦࡰࡷࠫॡ"):md.User_Agent()} l1ll1111Created_By_Mucky_Duck = open_url(request_url, headers=headers, verify=False).json() l1l1lll1Created_By_Mucky_Duck = re.compile(l11lCreated_By_Mucky_Duck (u"ࠨࡦࡤࡸࡦ࠳ࡩࡥࠥࠬࡠࡤࠢ࡞࠭ࠬࠦࠬॢ")).findall(l1ll1111Created_By_Mucky_Duck[l11lCreated_By_Mucky_Duck (u"ࠩࡸࡲࡲࠧॣ")])[1] else: l1ll11llCreated_By_Mucky_Duck = re.split(l11lCreated_By_Mucky_Duck (u"ࡵࠫࡡࢂࠧ।"), str(query), re.I) l111l1lCreated_By_Mucky_Duck = l1ll11llCreated_By_Mucky_Duck[0].replace(l11lCreated_By_Mucky_Duck (u"ࠫࡡࡢࠧ॥"),l11lCreated_By_Mucky_Duck (u"ࠬ࠭०")) l1l1lll1Created_By_Mucky_Duck = l1ll11llCreated_By_Mucky_Duck[1].replace(l11lCreated_By_Mucky_Duck (u"࠭ࠩ१"),l11lCreated_By_Mucky_Duck (u"ࠧࠨ२")) l11l1llCreated_By_Mucky_Duck = l1ll11llCreated_By_Mucky_Duck[2].replace(l11lCreated_By_Mucky_Duck (u"ࠨ࡞ࠫ३"),l11lCreated_By_Mucky_Duck (u"ࠩࠪ४")) l1ll1l11Created_By_Mucky_Duck = int(time.time() * 10000) l1lll1lCreated_By_Mucky_Duck = l11lCreated_By_Mucky_Duck (u"ࠪࠩࡸ࠵ࡡࡣࡻ࠳ࡲࡵࡶࡪࡧࡢࡸࡴࡱࡥࠩ५") %l11l111Created_By_Mucky_Duck params = {l11lCreated_By_Mucky_Duck (u"ࠫࡪࡤࠨ६"):l1l1lll1Created_By_Mucky_Duck, l11lCreated_By_Mucky_Duck (u"ࠬࡳࡩࡥࠩ७"):l11l1llCreated_By_Mucky_Duck, l11lCreated_By_Mucky_Duck (u"࠭ࠨ८"):l1ll1l11Created_By_Mucky_Duck} headers = {l11lCreated_By_Mucky_Duck (u"ࠧࡂࡥࡦࡩࡵࡺࠧ९"):l11lCreated_By_Mucky_Duck (u"ࠨࡶࡨࡼࡹ࠵ࡪࡢࡸࡤࡷࡨࡸࡩࡱࡶࠤࡦࡶࡰࡦࡥࡹ࠱ࡥࡻࡧࡳࡤࡴࡴࡹ࠲ࠠࡢࡲࡳࡰࡩࡡࡵࡲࡲ࠴ࡣࡣࡶࡧࡷࡰࡵࠣࡥࡵࡶࡪࡥࡤࡸࡵ࠰ࡺ࠰ࡩࡨࡳࡡࡴࡥࡵࡵࡺࠬࠡࠬ࠲ࡀࠦࡱ࠾࠲࠱࠴࠶࠭॰"), l11lCreated_By_Mucky_Duck (u"ࠩࡄࡧࡨࡰࡵࡈࡲࡨࡵࡤࡪࡰࡪࠫॱ"):l11lCreated_By_Mucky_Duck (u"ࠪࡿࡰ࠭ࠢࡧࡩࡲࡡࡵࡧࠤࡸࡪࡣࡩࠣࡦࡷ࠭ॲ"), l11lCreated_By_Mucky_Duck (u"ࠫࡆࡩࡣࡦࡲࡷ࠱ࡑࡧࡨࡷࡤࡪ࠭ॳ"):l11lCreated_By_Mucky_Duck (u"ࠬࡗࡖ࠰ࡪࡴ࠻ࡲ࠳࠲࠽࠭ॴ"), l11lCreated_By_Mucky_Duck (u"࠭ࡒࡦࡨࡨࡶࡪࡸࠧॵ"):l111l1lCreated_By_Mucky_Duck, l11lCreated_By_Mucky_Duck (u"ࠧࡖࡵࡨࡶ࠲ࡇࡧࡦࡰࡷࠫॶ"):md.User_Agent(), l11lCreated_By_Mucky_Duck (u"ࠨ࡚࠰ࡖࡪࡷࡵࡦࡵࡷࡩࡩ࠳ࡗࡪࡶࠫॷ"):l11lCreated_By_Mucky_Duck (u"࡛ࠩࡑࡑࡎࡴࡵࡲࡕࡩࡶࡻࡥࡴࡶࠪॸ")} data = open_url(l1lll1lCreated_By_Mucky_Duck, params=params, headers=headers, verify=False).content if l11lCreated_By_Mucky_Duck (u"ࠪࠨࡤࠪࠧॹ") in data: params = __1l1l1llCreated_By_Mucky_Duck(data) elif data.startswith(l11lCreated_By_Mucky_Duck (u"ࠫࡠࡣࠧॺ")) and data.endswith(l11lCreated_By_Mucky_Duck (u"ࠬࠩࠨॻ")): params = __1l1ll11Created_By_Mucky_Duck(data) else: params = __1l1ll1lCreated_By_Mucky_Duck(data) if params is None: l111Created_By_Mucky_Duck.log(l11lCreated_By_Mucky_Duck (u"࠭ࡕࡴࡨࡧࡴࡪࡼࡨࡨࠥࡰࡳࠡࡱࠤࠪࡹࠧॼ") % (l1lll1lCreated_By_Mucky_Duck)) l1ll111Created_By_Mucky_Duck = l11lCreated_By_Mucky_Duck (u"ࠧࠦࡵ࠲ࡥࡧࡸ࠰ࡲࡺࡴࡱࡸࡶࡨࡳ࠰ࠧࡶࠫॽ") %(l11l111Created_By_Mucky_Duck,l1l1lll1Created_By_Mucky_Duck) headers = {l11lCreated_By_Mucky_Duck (u"ࠨࡃࡦࡧࡪࡶࡴࠨॾ"):l11lCreated_By_Mucky_Duck (u"ࠩࡤࡴࡵࡲࡩࡤࡣࡷࡴࡴࡵࡲࡲ࠱ࠦࡴࡦࡺࡷ࠳ࡧࡶࡢࡵࡦࡶࡶࡴ࠭ࠢ࠭࠳ࡁࠠࡲ࠳࠲࠵࠷ࠧॿ"), l11lCreated_By_Mucky_Duck (u"ࠪࡅࡨࡩࡥࡱࡶ࠰ࡉࡳࡩࡥࡱࠬঀ"):l11lCreated_By_Mucky_Duck (u"ࠫࢀࡩࡱࠣࡨࡪࡢࡶࡨ࠰ࠥࡹࡤࡤࡪࠤࡧࡸࠧঁ"), l11lCreated_By_Mucky_Duck (u"ࠬࡇࡣࡤࡧࡳࡸ࠲ࡒࡡࡩࡸࡥࠧং"):l11lCreated_By_Mucky_Duck (u"࠭ࡥࡘࡗ࠱࠼ࡳࡀ࠴࠳࠾ࠧঃ"), l11lCreated_By_Mucky_Duck (u"ࠧࡓࡧࡩࡩࡷࡲࠨ"):l111l1lCreated_By_Mucky_Duck, l11lCreated_By_Mucky_Duck (u"ࠨࡗࡶࡩࡷ࠳ࡁࡨࡧࡱࡸࠬঅ"):md.User_Agent(), l11lCreated_By_Mucky_Duck (u"࡛ࠩ࠱ࡗࡱࡶࡧࡶࡸࡪࡪ࠭ࡘࡷࠬআ"):l11lCreated_By_Mucky_Duck (u"ࠪࡒࡒࡈࡵࡶࡳࡖࡪࡷࡵࡦࡵࡷࠫই")} final = open_url(l1ll111Created_By_Mucky_Duck, params=params, headers=headers, verify=False).json() l1lllllCreated_By_Mucky_Duck = [] l1ll1l1Created_By_Mucky_Duck = [] l1l11l1Created_By_Mucky_Duck = l11lCreated_By_Mucky_Duck (u"ࠫࠬঈ") if l1l1l11Created_By_Mucky_Duck == l11lCreated_By_Mucky_Duck (u"ࠬࡺࡲࡶࡧࠪউ"): url = max(final[l11lCreated_By_Mucky_Duck (u"࠭ࡰࡣࡼࡰࡹࡴࠨঊ")][0][l11lCreated_By_Mucky_Duck (u"ࠧࡴࡱࡸࡶࡨࡳࠨঋ")], key=lambda l1l1llllCreated_By_Mucky_Duck: int(re.sub(l11lCreated_By_Mucky_Duck (u"ࠨ࡞ࡇࠫঌ"), l11lCreated_By_Mucky_Duck (u"ࠩࠪ"), l1l1llllCreated_By_Mucky_Duck[l11lCreated_By_Mucky_Duck (u"ࠪࡰࡦࡨࡥࠩ")]))) url = url[l11lCreated_By_Mucky_Duck (u"ࠫࡦࠩএ")] else: match = final[l11lCreated_By_Mucky_Duck (u"ࠬࡶࡢࡻࡸࡺࠧঐ")][0][l11lCreated_By_Mucky_Duck (u"࠭ࡳࡰࡷࡵࡧࡪࡹࠧ")] for a in match: l1l11l1Created_By_Mucky_Duck = l11lCreated_By_Mucky_Duck (u"ࠧࡄࡠࡎࡣ࡛ࡄࡑࡏࡓࡗࠦࡲࡦࡦࡠࠩࡸࡡࡄࡑࡏࡓࡗࡣ࡛࠰ࡋࡠ࠴ࡈࠨ") %a[l11lCreated_By_Mucky_Duck (u"ࠨࡤࡦࡪࡲࠧও")] l1lllllCreated_By_Mucky_Duck.append(l1l11l1Created_By_Mucky_Duck) l1ll1l1Created_By_Mucky_Duck.append(a[l11lCreated_By_Mucky_Duck (u"ࠩࡩࡱࠧঔ")]) if len(match) >1: l111l1Created_By_Mucky_Duck = md.dialog_select(l11lCreated_By_Mucky_Duck (u"ࠪࡗࡪࡲࡥࡤࡶࠣࡗࡹࡸࡥࡢࠣࡕࡺࡧࡪࡶࡼࠫক"),l1lllllCreated_By_Mucky_Duck) if l111l1Created_By_Mucky_Duck == -1: return elif l111l1Created_By_Mucky_Duck > -1: url = l1ll1l1Created_By_Mucky_Duck[l111l1Created_By_Mucky_Duck] else: url = final[l11lCreated_By_Mucky_Duck (u"ࠫࡵࡲࡡࡺࡷࡹ࠭খ")][0][l11lCreated_By_Mucky_Duck (u"ࠬࡹࡶࡴࡦࡩࡸ࠭গ")][0][l11lCreated_By_Mucky_Duck (u"࠭ࡦࡪࡨࠫঘ")] except: if content == l11lCreated_By_Mucky_Duck (u"ࠧࡱࡹࡪࡹࠧঙ"): link = open_url(url,verify=False).content l111l1lCreated_By_Mucky_Duck = url headers = {l11lCreated_By_Mucky_Duck (u"ࠨࡗࡶࡩࡷ࠳ࡁࡨࡧࡱࡸࠬচ"):md.User_Agent()} link = open_url(url, headers=headers).content l11l1llCreated_By_Mucky_Duck = re.compile(l11lCreated_By_Mucky_Duck (u"ࠩࡨࠦࠢࠩࡡࠦࡢ࠱ࠩࠣࠩছ")).findall(link)[0] request_url = l11lCreated_By_Mucky_Duck (u"ࠪࠩࡸ࠵ࡡࡣࡻ࠳ࡲࡵࡶࡪࡧࡢࡩࡵࡳࡰࡦࡨࡷ࠴ࠫࡳࠨজ") %(l11l111Created_By_Mucky_Duck,l11l1llCreated_By_Mucky_Duck) headers = {l11lCreated_By_Mucky_Duck (u"ࠫࡆࡩࡣࡦࡲࡷ࠱ࡊࡴࡣࡰࡦࡲ࠭ঝ"):l11lCreated_By_Mucky_Duck (u"ࠬࡺࡪࡲࠤࡩࡦࡣࡷࡩ࠱ࠦࡳࡥࡥ࠰ࠥࡨࡲࠨঞ"), l11lCreated_By_Mucky_Duck (u"࠭ࡒࡦࡨࡨࡶࡪࡸࠧট"):l111l1lCreated_By_Mucky_Duck, l11lCreated_By_Mucky_Duck (u"ࠧࡖࡵࡨࡶ࠲ࡇࡧࡦࡰࡷࠫঠ"):md.User_Agent()} l1ll1111Created_By_Mucky_Duck = open_url(request_url, headers=headers, verify=False).json() l1l1lll1Created_By_Mucky_Duck = re.compile(l11lCreated_By_Mucky_Duck (u"ࠨࡦࡤࡸࡦ࠳ࡩࡥࠥࠬࡠࡤࠢ࡞࠭ࠬࠦࠬড")).findall(l1ll1111Created_By_Mucky_Duck[l11lCreated_By_Mucky_Duck (u"ࠩࡸࡲࡲࠧঢ")])[3] else: l1ll11llCreated_By_Mucky_Duck = re.split(l11lCreated_By_Mucky_Duck (u"ࡵࠫࡡࢂࠧণ"), str(query), re.I) l111l1lCreated_By_Mucky_Duck = l1ll11llCreated_By_Mucky_Duck[0].replace(l11lCreated_By_Mucky_Duck (u"ࠫࡡࡢࠧত"),l11lCreated_By_Mucky_Duck (u"ࠬ࠭থ")) l1l1lll1Created_By_Mucky_Duck = l1ll11llCreated_By_Mucky_Duck[1].replace(l11lCreated_By_Mucky_Duck (u"࠭ࠩদ"),l11lCreated_By_Mucky_Duck (u"ࠧࠨধ")) l11l1llCreated_By_Mucky_Duck = l1ll11llCreated_By_Mucky_Duck[2].replace(l11lCreated_By_Mucky_Duck (u"ࠨ࡞ࠫন"),l11lCreated_By_Mucky_Duck (u"ࠩࠪ")) l1ll1l11Created_By_Mucky_Duck = int(time.time() * 10000) l1lll1lCreated_By_Mucky_Duck = l11lCreated_By_Mucky_Duck (u"ࠪࠩࡸ࠵ࡡࡣࡻ࠳ࡲࡵࡶࡪࡧࡢࡸࡴࡱࡥࠩপ") %l11l111Created_By_Mucky_Duck params = {l11lCreated_By_Mucky_Duck (u"ࠫࡪࡤࠨফ"):l1l1lll1Created_By_Mucky_Duck, l11lCreated_By_Mucky_Duck (u"ࠬࡳࡩࡥࠩব"):l11l1llCreated_By_Mucky_Duck, l11lCreated_By_Mucky_Duck (u"࠭ࠨভ"):l1ll1l11Created_By_Mucky_Duck} headers = {l11lCreated_By_Mucky_Duck (u"ࠧࡂࡥࡦࡩࡵࡺࠧম"):l11lCreated_By_Mucky_Duck (u"ࠨࡶࡨࡼࡹ࠵ࡪࡢࡸࡤࡷࡨࡸࡩࡱࡶࠤࡦࡶࡰࡦࡥࡹ࠱ࡥࡻࡧࡳࡤࡴࡴࡹ࠲ࠠࡢࡲࡳࡰࡩࡡࡵࡲࡲ࠴ࡣࡣࡶࡧࡷࡰࡵࠣࡥࡵࡶࡪࡥࡤࡸࡵ࠰ࡺ࠰ࡩࡨࡳࡡࡴࡥࡵࡵࡺࠬࠡࠬ࠲ࡀࠦࡱ࠾࠲࠱࠴࠶࠭য"), l11lCreated_By_Mucky_Duck (u"ࠩࡄࡧࡨࡰࡵࡈࡲࡨࡵࡤࡪࡰࡪࠫর"):l11lCreated_By_Mucky_Duck (u"ࠪࡿࡰ࠭ࠢࡧࡩࡲࡡࡵࡧࠤࡸࡪࡣࡩࠣࡦࡷ࠭"), l11lCreated_By_Mucky_Duck (u"ࠫࡆࡩࡣࡦࡲࡷ࠱ࡑࡧࡨࡷࡤࡪ࠭ল"):l11lCreated_By_Mucky_Duck (u"ࠬࡗࡖ࠰ࡪࡴ࠻ࡲ࠳࠲࠽࠭"), l11lCreated_By_Mucky_Duck (u"࠭ࡒࡦࡨࡨࡶࡪࡸࠧ"):l111l1lCreated_By_Mucky_Duck, l11lCreated_By_Mucky_Duck (u"ࠧࡖࡵࡨࡶ࠲ࡇࡧࡦࡰࡷࠫ"):md.User_Agent(), l11lCreated_By_Mucky_Duck (u"ࠨ࡚࠰ࡖࡪࡷࡵࡦࡵࡷࡩࡩ࠳ࡗࡪࡶࠫশ"):l11lCreated_By_Mucky_Duck (u"࡛ࠩࡑࡑࡎࡴࡵࡲࡕࡩࡶࡻࡥࡴࡶࠪষ")} data = open_url(l1lll1lCreated_By_Mucky_Duck, params=params, headers=headers, verify=False).content if l11lCreated_By_Mucky_Duck (u"ࠪࠨࡤࠪࠧস") in data: params = __1l1l1llCreated_By_Mucky_Duck(data) elif data.startswith(l11lCreated_By_Mucky_Duck (u"ࠫࡠࡣࠧহ")) and data.endswith(l11lCreated_By_Mucky_Duck (u"ࠬࠩࠨ")): params = __1l1ll11Created_By_Mucky_Duck(data) else: params = __1l1ll1lCreated_By_Mucky_Duck(data) if params is None: l111Created_By_Mucky_Duck.log(l11lCreated_By_Mucky_Duck (u"࠭ࡕࡴࡨࡧࡴࡪࡼࡨࡨࠥࡰࡳࠡࡱࠤࠪࡹࠧ") % (l1lll1lCreated_By_Mucky_Duck)) l1ll111Created_By_Mucky_Duck = l11lCreated_By_Mucky_Duck (u"ࠧࠦࡵ࠲ࡥࡧࡸ࠰ࡲࡺࡴࡱࡸࡶࡨࡳ࠰ࠧࡶ়ࠫ") %(l11l111Created_By_Mucky_Duck,l1l1lll1Created_By_Mucky_Duck) headers = {l11lCreated_By_Mucky_Duck (u"ࠨࡃࡦࡧࡪࡶࡴࠨঽ"):l11lCreated_By_Mucky_Duck (u"ࠩࡤࡴࡵࡲࡩࡤࡣࡷࡴࡴࡵࡲࡲ࠱ࠦࡴࡦࡺࡷ࠳ࡧࡶࡢࡵࡦࡶࡶࡴ࠭ࠢ࠭࠳ࡁࠠࡲ࠳࠲࠵࠷ࠧা"), l11lCreated_By_Mucky_Duck (u"ࠪࡅࡨࡩࡥࡱࡶ࠰ࡉࡳࡩࡥࡱࠬি"):l11lCreated_By_Mucky_Duck (u"ࠫࢀࡩࡱࠣࡨࡪࡢࡶࡨ࠰ࠥࡹࡤࡤࡪࠤࡧࡸࠧী"), l11lCreated_By_Mucky_Duck (u"ࠬࡇࡣࡤࡧࡳࡸ࠲ࡒࡡࡩࡸࡥࠧু"):l11lCreated_By_Mucky_Duck (u"࠭ࡥࡘࡗ࠱࠼ࡳࡀ࠴࠳࠾ࠧূ"), l11lCreated_By_Mucky_Duck (u"ࠧࡓࡧࡩࡩࡷࡲࠨৃ"):l111l1lCreated_By_Mucky_Duck, l11lCreated_By_Mucky_Duck (u"ࠨࡗࡶࡩࡷ࠳ࡁࡨࡧࡱࡸࠬৄ"):md.User_Agent(), l11lCreated_By_Mucky_Duck (u"࡛ࠩ࠱ࡗࡱࡶࡧࡶࡸࡪࡪ࠭ࡘࡷࠬ"):l11lCreated_By_Mucky_Duck (u"ࠪࡒࡒࡈࡵࡶࡳࡖࡪࡷࡵࡦࡵࡷࠫ")} final = open_url(l1ll111Created_By_Mucky_Duck, params=params, headers=headers, verify=False).json() l1lllllCreated_By_Mucky_Duck = [] l1ll1l1Created_By_Mucky_Duck = [] l1l11l1Created_By_Mucky_Duck = l11lCreated_By_Mucky_Duck (u"ࠫࠬে") if l1l1l11Created_By_Mucky_Duck == l11lCreated_By_Mucky_Duck (u"ࠬࡺࡲࡶࡧࠪৈ"): url = max(final[l11lCreated_By_Mucky_Duck (u"࠭ࡰࡣࡼࡰࡹࡴࠨ")][0][l11lCreated_By_Mucky_Duck (u"ࠧࡴࡱࡸࡶࡨࡳࠨ")], key=lambda l1l1llllCreated_By_Mucky_Duck: int(re.sub(l11lCreated_By_Mucky_Duck (u"ࠨ࡞ࡇࠫো"), l11lCreated_By_Mucky_Duck (u"ࠩࠪৌ"), l1l1llllCreated_By_Mucky_Duck[l11lCreated_By_Mucky_Duck (u"ࠪࡰࡦࡨࡥ্ࠩ")]))) url = url[l11lCreated_By_Mucky_Duck (u"ࠫࡦࠩৎ")] else: match = final[l11lCreated_By_Mucky_Duck (u"ࠬࡶࡢࡻࡸࡺࠧ")][0][l11lCreated_By_Mucky_Duck (u"࠭ࡳࡰࡷࡵࡧࡪࡹࠧ")] for a in match: l1l11l1Created_By_Mucky_Duck = l11lCreated_By_Mucky_Duck (u"ࠧࡄࡠࡎࡣ࡛ࡄࡑࡏࡓࡗࠦࡲࡦࡦࡠࠩࡸࡡࡄࡑࡏࡓࡗࡣ࡛࠰ࡋࡠ࠴ࡈࠨ") %a[l11lCreated_By_Mucky_Duck (u"ࠨࡤࡦࡪࡲࠧ")] l1lllllCreated_By_Mucky_Duck.append(l1l11l1Created_By_Mucky_Duck) l1ll1l1Created_By_Mucky_Duck.append(a[l11lCreated_By_Mucky_Duck (u"ࠩࡩࡱࠧ")]) if len(match) >1: l111l1Created_By_Mucky_Duck = md.dialog_select(l11lCreated_By_Mucky_Duck (u"ࠪࡗࡪࡲࡥࡤࡶࠣࡗࡹࡸࡥࡢࠣࡕࡺࡧࡪࡶࡼࠫ"),l1lllllCreated_By_Mucky_Duck) if l111l1Created_By_Mucky_Duck == -1: return elif l111l1Created_By_Mucky_Duck > -1: url = l1ll1l1Created_By_Mucky_Duck[l111l1Created_By_Mucky_Duck] else: url = final[l11lCreated_By_Mucky_Duck (u"ࠫࡵࡲࡡࡺࡷࡹ࠭")][0][l11lCreated_By_Mucky_Duck (u"ࠬࡹࡶࡴࡦࡩࡸ࠭")][0][l11lCreated_By_Mucky_Duck (u"࠭ࡦࡪࡨࠫৗ")] md.resolved(url, name, fan_art, l1llllCreated_By_Mucky_Duck) l111Created_By_Mucky_Duck.end_of_directory()
def l1111l1Created_By_Mucky_Duck(title, url, l111llCreated_By_Mucky_Duck, content, l11l11lCreated_By_Mucky_Duck): link = open_url(url,verify=False).content l111l1lCreated_By_Mucky_Duck = url l11l1llCreated_By_Mucky_Duck = re.compile(l11lCreated_By_Mucky_Duck (u"ࠧࡪࡦ࠽ࠤ࡛ࠧࠤࡠࠨࠧࣇ")).findall(link)[0] request_url = l11lCreated_By_Mucky_Duck (u"ࠨࠧࡶ࠳ࡦࡰࡡࡹ࠱ࡰࡳࡻࡥࡠࡧࡳࡸࡵࡤࡦࡵ࠲ࠩࡸ࠭ࣈ") %(l11l111Created_By_Mucky_Duck,l11l1llCreated_By_Mucky_Duck) headers = {l11lCreated_By_Mucky_Duck (u"ࠩࡄࡧࡨࡰࡵࡈࡲࡨࡵࡤࡪࡰࡪࠫࣉ"):l11lCreated_By_Mucky_Duck (u"ࠪࡿࡰ࠭ࠢࡧࡩࡲࡡࡵࡧࠤࡸࡪࡣࡩࠣࡦࡷ࠭࣊"), l11lCreated_By_Mucky_Duck (u"ࠫࡗࡦࡦࡴࡨࡶࠬ࣋"):l111l1lCreated_By_Mucky_Duck, l11lCreated_By_Mucky_Duck (u"࡛ࠬࡳࡦࡴ࠰ࡅࡵࠩ࣌"):md.User_Agent()} l1ll1111Created_By_Mucky_Duck = open_url(request_url, headers=headers, verify=False).json() l11ll1lCreated_By_Mucky_Duck = md.regex_get_all(l1ll1111Created_By_Mucky_Duck[l11lCreated_By_Mucky_Duck (u"࠭ࡨࡵࠫ࣍")], l11lCreated_By_Mucky_Duck (u"ࠧࡕࡨࡶࡻࡲࠡ࠳࠳ࡀࠬ࣎"), l11lCreated_By_Mucky_Duck (u"ࠨࠤࡦࡰࡪࡧࡲࡧࡻ࣏ࠦࠬ")) l1l1lCreated_By_Mucky_Duck = md.regex_get_all(str(l11ll1lCreated_By_Mucky_Duck), l11lCreated_By_Mucky_Duck (u"ࠩࡥ࣐ࠬ"), l11lCreated_By_Mucky_Duck (u"ࠪࡀ࠴ࡧ࠾ࠨ࣑")) items = len(l1l1lCreated_By_Mucky_Duck) for a in l1l1lCreated_By_Mucky_Duck: name = md.regex_from_to(a, l11lCreated_By_Mucky_Duck (u"ࠫࡹࡴࡧࡀ࣒ࠦࠬ"), l11lCreated_By_Mucky_Duck (u"ࠬࠨ࣓ࠧ")) name = l111Created_By_Mucky_Duck.unescape(name).replace(l11lCreated_By_Mucky_Duck (u"ࠨࠩࠥࣔ"),l11lCreated_By_Mucky_Duck (u"ࠢࠨࠤࣕ")) l1l1lll1Created_By_Mucky_Duck = md.regex_from_to(a, l11lCreated_By_Mucky_Duck (u"ࠨࡦࡤࡸࡦ࠳ࡩࡥࠥࠫࣖ"), l11lCreated_By_Mucky_Duck (u"ࠩࠥࠫࣗ")) headers = l111l1lCreated_By_Mucky_Duck + l11lCreated_By_Mucky_Duck (u"ࠪࡠࢁ࠭ࣘ") + l1l1lll1Created_By_Mucky_Duck + l11lCreated_By_Mucky_Duck (u"ࠫࡡࢂࠧࣙ") + l11l1llCreated_By_Mucky_Duck url = l11lCreated_By_Mucky_Duck (u"ࠬࠫࡳ࠰ࡣࡥࡽ࠵ࡰࡸࡩࡤࡹࡶࡴࡦࡩࡸ࠵ࠥࡴࠩࣚ") %(l11l111Created_By_Mucky_Duck,l1l1lll1Created_By_Mucky_Duck) try: l1l1l111Created_By_Mucky_Duck = name.split(l11lCreated_By_Mucky_Duck (u"࠭ࡅࡱࡶࡳࡩࠧࣛ"))[1].strip()[:2] except:pass fan_art = {l11lCreated_By_Mucky_Duck (u"ࠧࡪࡥࡲࡲࠬࣜ"):l111llCreated_By_Mucky_Duck} md.remove_punctuation(title) md.addDir({l11lCreated_By_Mucky_Duck (u"ࠨࡲࡨࡪ࠭ࣝ"): l11lCreated_By_Mucky_Duck (u"ࠩ࠺ࠫࣞ"), l11lCreated_By_Mucky_Duck (u"ࠪࡲࡦࡳࡥࠨࣟ"):l11lCreated_By_Mucky_Duck (u"ࠫࡠࡈࡅࡒࡐࡔࡘࠠࡸࡪࡸࡪࡣࠥࡴ࠲ࡇࡔࡒࡏࡓ࡞࠳ࡇࡣࠧ࣠") %name, l11lCreated_By_Mucky_Duck (u"ࠬࡻࡲࠩ࣡"):url, l11lCreated_By_Mucky_Duck (u"࠭ࡩࡤࡱࡱࡲࡧࡧࡦࠩ"):l111llCreated_By_Mucky_Duck, l11lCreated_By_Mucky_Duck (u"ࠧࡤࡱࡱࡸࡪࡴࡴࠨࣣ"):l11lCreated_By_Mucky_Duck (u"ࠨࡧࡳࡸࡵࡤࡦࡵࠪࣤ"), l11lCreated_By_Mucky_Duck (u"ࠩࡴࡹࡪࡸࡹࠨࣥ"):headers}, {l11lCreated_By_Mucky_Duck (u"ࠪࡷࡴࡸࡴࡵࡷࡰࡪࣦ࠭"):title, l11lCreated_By_Mucky_Duck (u"ࠫࡸࡡࡴࡱࡱࠫࣧ"):l11l11lCreated_By_Mucky_Duck, l11lCreated_By_Mucky_Duck (u"ࠬࡰࡪࡵࡲࡨࡪ࠭ࣨ"):l1l1l111Created_By_Mucky_Duck}, fan_art, is_folder=False, item_count=items) setView(l1111llCreated_By_Mucky_Duck,l11lCreated_By_Mucky_Duck (u"࠭ࡥࡱࡶࡳࡩࡳࠨࣩ"), l11lCreated_By_Mucky_Duck (u"ࠧࡦࡲ࠱ࡻࡥࡸࠩ࣪")) l111Created_By_Mucky_Duck.end_of_directory()