Loading lostmediafinder/finder.py +1 −1 Original line number Diff line number Diff line Loading @@ -232,7 +232,7 @@ class Hobune(YouTubeService): lastupdated = time.time() for url in urls_to_try: url = url.format(id) async with session.get(url, headers={"User-Agent": user_agent}, timeout=5) as resp: async with session.head(url, headers={"User-Agent": user_agent}, timeout=5) as resp: code = resp.status raw.append(code) if code == 200: Loading Loading
lostmediafinder/finder.py +1 −1 Original line number Diff line number Diff line Loading @@ -232,7 +232,7 @@ class Hobune(YouTubeService): lastupdated = time.time() for url in urls_to_try: url = url.format(id) async with session.get(url, headers={"User-Agent": user_agent}, timeout=5) as resp: async with session.head(url, headers={"User-Agent": user_agent}, timeout=5) as resp: code = resp.status raw.append(code) if code == 200: Loading