-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.txt
35 lines (34 loc) · 1.63 KB
/
config.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
[General]
# Path to output directory (leave blank to use the project directory)
outputPath = \\PATH\
# Create subfolder based on comic title? (True or False)
subfolderToggle = False
# Get author comments? (True or False)
getComments = True
# Get commic image? (True or False)
getImage = True
# Name image by? (title or originalFilename or both, 'both' will concat them in order with ' - ' between)
imageNameType = title
# Hide the webbrowsing window while it runs? (True or False)
runHeadless = False
# Compose results into html pages with navigation (will include comments if enabled)
# Note that the navigation buttons only work correctly if you start at the most recent page and scrape back
buildHTML = True
[Comic]
# What's the comic name? (used to make subfolder if enabled above)
comicName = Comic Name!
# What is the first page you'd like to start traversing at? (consider setting to recent page if running updates)
comicStartPage = https://www.website.com
# XPATH to the image or page title
imageTitlePath = //*[@id="frame"]/div[2]
# XPATH to the next button
nextButtonPath = //*[@id="frame"]/div[3]/div/center/table[2]/tbody/tr[1]/td[2]/a
# Next button type (link or javaClick, almost always link)
nextButtonType = link
# XPATH to the comic image itself (optional, toggle off above if blank)
imagePath = //*[@id="frame"]/div[3]/div/center/img
# XPATH to the author comment, if applicable (optional, toggle off above if blank)
commentPath = //*[@id="frame"]/div[4]
# Click this element once prior to scrape (Leave blank if not needed)
# This can be used to have the base URL be the homepage, and then click into the 'latest page' from there
initialClick =