Skip to content

Commit

Permalink
Fix: failed matching image in cartoonmad (#364)
Browse files Browse the repository at this point in the history
  • Loading branch information
eight04 authored Dec 24, 2023
1 parent 8cda8ea commit dd5cad2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion comiccrawler/mods/cartoonmad.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def get_episodes(html, url):
return s

def get_images(html, url):
pic_url = re.search('img src="([^"]*comicpic[^"]+)', html).group(1)
pic_url = re.search(r'img src="([^"]*(comicpic|cc\.fun8\.us)[^"]+)', html).group(1)
return urljoin(url, pic_url)

def get_next_page(html, url):
Expand Down

0 comments on commit dd5cad2

Please sign in to comment.