From e2b7c0cd3e6ab28e3dff987e3f3fb176136fcf35 Mon Sep 17 00:00:00 2001 From: trnq1ll0 Date: Sat, 12 Oct 2024 20:46:07 +0200 Subject: [PATCH] disable debug settings --- scrape.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scrape.py b/scrape.py index de3ad4a..ab7a560 100644 --- a/scrape.py +++ b/scrape.py @@ -199,7 +199,7 @@ def main(): all_pages = download_all_pages(session, api_url) ############ - all_pages[0]['title'] = "Linux" + # all_pages[0]['title'] = "Linux" page_count = 0 for page in all_pages: @@ -224,7 +224,7 @@ def main(): converter.SKIP_INTERNAL_LINKS = False converter.IGNORE_ANCHORS = False converter.SINGLE_LINE_BREAK = True - converter.MARK_CODE = True + converter.MARK_CODE = False html = RemoveToc(data['parse']['text'], data['parse']['showtoc']) markdown_content = converter.handle(html) markdown_content = RemoveEditLinks(markdown_content)