Skip to content

Commit

Permalink
fix javbus and avsox client: url should be string
Browse files Browse the repository at this point in the history
  • Loading branch information
glyh committed Sep 27, 2024
1 parent a9a9ca9 commit 3e65ca2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion javsp/web/avsox.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@


logger = logging.getLogger(__name__)
base_url = Cfg().network.proxy_free[CrawlerID.avsox]
base_url = str(Cfg().network.proxy_free[CrawlerID.avsox])


def parse_data(movie: MovieInfo):
Expand Down
2 changes: 1 addition & 1 deletion javsp/web/javbus.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
if Cfg().network.proxy_server is not None:
base_url = permanent_url
else:
base_url = Cfg().network.proxy_free[CrawlerID.javbus]
base_url = str(Cfg().network.proxy_free[CrawlerID.javbus])


def parse_data(movie: MovieInfo):
Expand Down

0 comments on commit 3e65ca2

Please sign in to comment.