mirror of
https://github.com/c0mmando/discourse-to-markdown-archiver.git
synced 2025-05-07 02:43:46 +05:30
Update archive.py
edited to reflect current script name
This commit is contained in:
parent
cb3fc4d2e6
commit
076fb0334e
@ -8,7 +8,7 @@ renders topics to Markdown files for each batch of posts concurrently, and updat
|
||||
a metadata file after each post is indexed.
|
||||
|
||||
Usage:
|
||||
./archive_and_render.py --urls https://forum.hackliberty.org,https://forum.qubes-os.org --target-dir ./archive
|
||||
./archive.py --urls https://forum.hackliberty.org,https://forum.qubes-os.org --target-dir ./archive
|
||||
"""
|
||||
|
||||
import argparse
|
||||
@ -32,7 +32,7 @@ try:
|
||||
logging.basicConfig(level=loglevel, datefmt="[%X]", handlers=[RichHandler()])
|
||||
except ImportError:
|
||||
logging.basicConfig(level=loglevel)
|
||||
log = logging.getLogger('archive_and_render')
|
||||
log = logging.getLogger('archive')
|
||||
|
||||
# Argument parser (cached for re-use)
|
||||
parser = argparse.ArgumentParser(
|
||||
|
Loading…
x
Reference in New Issue
Block a user