aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2020-04-27 17:14:57 +0000
committerbloodstalker <thabogre@gmail.com>2020-04-27 17:14:57 +0000
commit5dd281aac8464d00b75b0c5a9299f59f1e6c07e6 (patch)
treefec41bcb4ac70623c6f42bea3c54e1a7e5453823
parentupdate (diff)
downloadkaminokumo-5dd281aac8464d00b75b0c5a9299f59f1e6c07e6.tar.gz
kaminokumo-5dd281aac8464d00b75b0c5a9299f59f1e6c07e6.zip
update
-rwxr-xr-xkaminokumo2
1 files changed, 1 insertions, 1 deletions
diff --git a/kaminokumo b/kaminokumo
index 62eb3e7..1053680 100755
--- a/kaminokumo
+++ b/kaminokumo
@@ -71,7 +71,7 @@ def manga_scrape():
search = soup.find_all("a", class_="chapter-name text-nowrap")
re_res = []
for thing in search:
- re_res.append(re.findall("Chapter [0-9]*", thing.text))
+ re_res.append(re.findall("Chapter [0-9]*[\.[0-9]*]?", thing.text))
print(name,"-->", re_res[0][0])