diff --git a/web/javbus.py b/web/javbus.py index 3d64ac4df..160138a50 100644 --- a/web/javbus.py +++ b/web/javbus.py @@ -28,9 +28,6 @@ def parse_data(movie: MovieInfo): """ url = f'{base_url}/{movie.dvdid}' resp = request_get(url, delay_raise=True) - if resp.status_code == 404: - raise MovieNotFoundError(__name__, movie.dvdid) - resp.raise_for_status() # 疑似JavBus检测到类似爬虫的行为时会要求登录,不过发现目前不需要登录也可以从重定向前的网页中提取信息 if resp.history and resp.history[0].status_code == 302: html = resp2html(resp.history[0])