diff options
author | terminaldweller <thabogre@gmail.com> | 2021-05-27 15:52:56 +0000 |
---|---|---|
committer | terminaldweller <thabogre@gmail.com> | 2021-05-27 15:52:56 +0000 |
commit | 49e81a8c0470e6df98493306917ab1744115c7b9 (patch) | |
tree | f0c72efe3a9a8537af03de5dd6250d673cea0fcd | |
parent | added an anime scraper. was wasting too much time checking them manually (diff) | |
download | kaminokumo-49e81a8c0470e6df98493306917ab1744115c7b9.tar.gz kaminokumo-49e81a8c0470e6df98493306917ab1744115c7b9.zip |
a little fix
Diffstat (limited to '')
-rwxr-xr-x | kaminokumo | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -88,7 +88,10 @@ def manga_scrape(): for thing in search: re_res.append(re.findall("Chapter [0-9]*[.[0-9]*]?", thing.text)) # print(name, "-->", re_res[0][0]) - result += name + "-->" + re_res[0][0] + "\n" + try: + result += name + "-->" + re_res[0][0] + "\n" + except IndexError: + result += name + "--> nothing\n" print(result, end="") |