Oda/.env.example
2022-10-29 21:47:05 +00:00

14 lines
682 B
Plaintext

# Relative paths are relative to the current working directory (`pwd`), so explicit full paths are recommended.
# See *.sample.* files for test runs and examples.
# Simply a list of Oda.com product URLs to scrape. One URL per line.
PRODUCT_URL_LIST=./data/products.txt
# The output file for the scraped data. This file will be overwritten if it already exists.
PRODUCT_OUTPUT_FILE=./data/products.csv
# Can be either 'json' or 'csv'
PRODUCT_OUTPUT_FORMAT=json
# User agent sent with requests. Not sure if this is strictly necessary, but it doesn't hurt.
USER_AGENT="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36"