Skip to content

Bulk asynchronous downloader for multiple file hosts

fix: vbulletin errors

NTFSvolumeb42be2460dae
diff --git a/tests/crawlers/test_vbulletin.py b/tests/crawlers/test_vbulletin.py
index fa8b59e2c..a0f14a7f9 100644
--- a/tests/crawlers/test_vbulletin.py
+++ b/tests/crawlers/test_vbulletin.py
@@ -2,7 +2,8 @@ from __future__ import annotations
import pytest
-from cyberdrop_dl.crawlers import _forum, vbulletin
+from cyberdrop_dl.crawlers import vbulletin
+from cyberdrop_dl.crawlers.xenforo import xenforo
from cyberdrop_dl.url_objects import AbsoluteHttpURL
@@ -35,6 +36,6 @@ from cyberdrop_dl.url_objects import AbsoluteHttpURL
)
def test_parse_thread(url: str, thread_name_and_id: str, result: tuple[int, str, int, int], canonical_url: str) -> None:
url_, canonical_url_ = AbsoluteHttpURL(url), AbsoluteHttpURL(canonical_url)
- result_ = _forum.Thread(*result, canonical_url_)
+ result_ = xenforo.Thread(*result, canonical_url_)
parsed = vbulletin.vBulletinCrawler.parse_thread(url_, thread_name_and_id)
assert result_ == parsed