diff options
-rwxr-xr-x | plugins/readm.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/readm.py b/plugins/readm.py index d2d360a..3101587 100755 --- a/plugins/readm.py +++ b/plugins/readm.py @@ -69,6 +69,7 @@ def list_chapters(url, chapter_list_input): for element in tree.xpath('//div[@class="episodes-list"]//a'): element_text = element.text.strip() url = element.attrib.get("href").strip() + url = "https://readm.org" + url if element_text.lower().replace(" ", "") in seen_titles or url in seen_urls: break chapters.append({ "name": element_text, "url": url }) |