You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+86Lines changed: 86 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -108,6 +108,92 @@ scrapey-cli/
108
108
109
109
---
110
110
111
+
## 🔧 Configuration Options
112
+
113
+
Scrapey CLI is configured using a JSON file that defines how websites are crawled and scraped. Below is a detailed breakdown of the available configuration options.
114
+
115
+
### 🌍 URL Configuration
116
+
117
+
```json
118
+
"url": {
119
+
"base": "https://example.com",
120
+
"routes": [
121
+
"/route1",
122
+
"/route2",
123
+
"*"
124
+
],
125
+
"includeBase": false
126
+
}
127
+
```
128
+
129
+
-**base**: The primary domain to scrape.
130
+
-**routes**: List of specific paths to scrape. Supports `*` as a wildcard for full site crawling.
131
+
-**includeBase**: Whether to include the base URL in the scrape.
0 commit comments