"""Probe perverzija scene page for hosters via curl_cffi.""" import re from app.extractors._fetch import fetch_tube_html url = "https://tube.perverzija.com/bangbrosclips-peta-jensen-peta-jensen-daily-dick-fix/" html = fetch_tube_html(url) print(f"size: {len(html)}") iframes = re.findall(r']+src="([^"]+)"', html, re.I) print(f"iframes: {iframes[:10]}") hosters = re.findall( r"(?:playmogo|luluvid|mixdrop|voe|streamwish|filemoon|doodstream|sdefx|xtremestream)\.[a-z]+/[a-zA-Z0-9?=.&_/-]+", html, re.I, ) print(f"hoster_urls: {hosters[:10]}")