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)