참고소스 수정본

This commit is contained in:
LASTA_DEV01\lasta
2026-05-12 19:40:31 +09:00
parent 0f34a451fc
commit 2e9204243d
8708 changed files with 3259488 additions and 869 deletions

View File

@@ -0,0 +1,50 @@
# Defines settings for trafilatura (https://github.com/adbar/trafilatura)
[DEFAULT]
# Download
DOWNLOAD_TIMEOUT = 10
MAX_FILE_SIZE = 20000000
MIN_FILE_SIZE = 10
# sleep between requests
SLEEP_TIME = 0.25
# one line per user-agent
USER_AGENTS =
Firefox
Chrome
# cookie for HTTP requests
COOKIE = yummy_cookie=choco; tasty_cookie=strawberry
# maximum number of redirects that we will follow
MAX_REDIRECTS = 2
# Extraction
MIN_EXTRACTED_SIZE = 0
MIN_EXTRACTED_COMM_SIZE = 0
MIN_OUTPUT_SIZE = 0
MIN_OUTPUT_COMM_SIZE = 0
# discard documents with too many elements
MAX_TREE_SIZE = 100
# Set to 0 to disable signal
EXTRACTION_TIMEOUT = 0
# Deduplication
MIN_DUPLCHECK_SIZE = 10
MAX_REPETITIONS = 3
# Extraction option for Htmldate
EXTENSIVE_DATE_SEARCH = off
# URLs in feeds and sitemaps
EXTERNAL_URLS = off