crawl_config.json
11.8 KB
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
{
"version": "1.0.0",
"agent": "story-architect",
"taskId": "T-mnwkukzg",
"respect_robots_txt": true,
"global_rate_limits": {
"default_request_interval_sec": 2.5,
"max_concurrent_requests_per_domain": 1,
"max_retries": 3,
"retry_backoff_sec": [2, 5, 10]
},
"user_agents": [
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36",
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36"
],
"headers": {
"Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8",
"Accept-Language": "en-US,en;q=0.9,zh-CN;q=0.8,zh;q=0.7",
"Accept-Encoding": "gzip, deflate, br",
"DNT": "1",
"Connection": "keep-alive",
"Upgrade-Insecure-Requests": "1"
},
"sources": [
{
"id": "bbc-writersroom",
"name": "BBC Writersroom Script Library",
"base_url": "https://www.bbc.co.uk/writersroom/scripts",
"homepage": "https://www.bbc.co.uk/writersroom",
"authority": "very_high",
"category": "screenplay_archive",
"rate_limits": {
"request_interval_sec": 2.5,
"max_requests_per_minute": 20
},
"crawl_rules": {
"entry_points": [
"https://www.bbc.co.uk/writersroom/scripts"
],
"allowed_patterns": [
"^https://www\\.bbc\\.co\\.uk/writersroom/scripts(?:/.*)?$",
"^https://www\\.bbc\\.co\\.uk/writersroom/(?:tv|radio|film|childrens)/(?:.*)?$"
],
"blocked_patterns": [
"\\?.*redirect=",
"/search\\?",
"/user/"
],
"follow_links": true,
"max_depth": 3,
"file_types": ["pdf"],
"file_patterns": [
"\\.pdf$"
]
},
"parsing_rules": {
"title": ["h1", ".script-title", "title"],
"writer": [".script-writer", "[data-writer]", ".author"],
"genre": [".script-genre", ".genre"],
"summary": [".script-synopsis", ".synopsis", "meta[name='description']@content"],
"script_url": ["a[href$='.pdf']@href"],
"release_year": [".script-year", ".year"]
},
"notes": "Official BBC resource. Static HTML with direct PDF links. No login required. Quarterly updates."
},
{
"id": "simplyscripts",
"name": "SimplyScripts",
"base_url": "https://simplyscripts.com",
"homepage": "https://simplyscripts.com",
"authority": "high",
"category": "screenplay_archive",
"rate_limits": {
"request_interval_sec": 3.0,
"max_requests_per_minute": 15
},
"crawl_rules": {
"entry_points": [
"https://www.simplyscripts.com/wga_top_101_scripts.html",
"https://simplyscripts.com/oscar-screenplays-96.html"
],
"allowed_patterns": [
"^https://(www\\.)?simplyscripts\\.com/.*\\.(html|htm|pdf|txt)$",
"^https://(www\\.)?simplyscripts\\.com/.+"
],
"blocked_patterns": [
"\\?.*search=",
"/cgi-bin/",
"/ads/"
],
"follow_links": true,
"max_depth": 2,
"file_types": ["pdf", "txt", "html"],
"file_patterns": [
"\\.(pdf|txt|html?)$"
]
},
"parsing_rules": {
"title": ["title", "h1", "h2", "h3"],
"writer": ["b:contains('Written by') + *", ".writer", "p:contains('Written by')"],
"script_url": ["a[href$='.pdf']@href", "a[href$='.txt']@href"],
"genre": ["p:contains('Genre')", ".genre"]
},
"notes": "Long-running aggregator. Mix of PDF and plain-text. Annual batch crawl recommended during awards season."
},
{
"id": "studiobinder",
"name": "StudioBinder Screenplay Database",
"base_url": "https://www.studiobinder.com",
"homepage": "https://www.studiobinder.com",
"authority": "high",
"category": "screenplay_archive_education",
"rate_limits": {
"request_interval_sec": 2.0,
"max_requests_per_minute": 25
},
"crawl_rules": {
"entry_points": [
"https://www.studiobinder.com/blog/best-free-movie-scripts-online/",
"https://www.studiobinder.com/blog/save-the-cat-beat-sheet/"
],
"allowed_patterns": [
"^https://www\\.studiobinder\\.com/blog/.+"
],
"blocked_patterns": [
"/shop/",
"/checkout/",
"/account/",
"\\?.*utm_"
],
"follow_links": false,
"max_depth": 1,
"file_types": ["pdf"],
"file_patterns": [
"\\.pdf$"
]
},
"parsing_rules": {
"title": ["h1.entry-title", "h1", "title"],
"script_url": ["a[href$='.pdf']@href"],
"movie_title": [".script-title", "h3", "h4"],
"year": [".script-year"],
"description": ["meta[name='description']@content", ".entry-content p"]
},
"notes": "Curated lists with clean HTML. PDFs may be on CDN. Do not recurse deeply; article pages are the primary target."
},
{
"id": "tvtropes",
"name": "TV Tropes Archetype Database",
"base_url": "https://tvtropes.org",
"homepage": "https://tvtropes.org",
"authority": "medium_high",
"category": "archetype_database",
"rate_limits": {
"request_interval_sec": 5.0,
"max_requests_per_minute": 10,
"daily_max_requests": 500
},
"crawl_rules": {
"entry_points": [
"https://tvtropes.org/pmwiki/pmwiki.php/Main/ArchetypalCharacter",
"https://tvtropes.org/pmwiki/pmwiki.php/Main/DeconstructedCharacterArchetype",
"https://tvtropes.org/pmwiki/pmwiki.php/Main/TheHerosJourney",
"https://tvtropes.org/pmwiki/pmwiki.php/Main/ThreeActStructure"
],
"allowed_patterns": [
"^https://tvtropes\\.org/pmwiki/pmwiki\\.php/Main/.+$"
],
"blocked_patterns": [
"/pmwiki/pmwiki.php/Trivia/",
"/pmwiki/pmwiki.php/WMG/",
"/pmwiki/pmwiki.php/YMMV/",
"/pmwiki/pmwiki.php/Fridge/",
"/forum/",
"/reviews/"
],
"follow_links": true,
"max_depth": 2,
"file_types": ["html"],
"file_patterns": [
"\\.html?$"
]
},
"parsing_rules": {
"title": ["h1", "title"],
"trope_description": [".trope-description", "#main-article p", ".article-content p"],
"examples": [".folder-label", "ul li"],
"related_tropes": ["a[href^='/pmwiki/pmwiki.php/Main/']@href"]
},
"notes": "Heavy anti-bot protections. Use conservative rate limits. Focus on Main/ namespace pages only. Do not mirror the entire site."
},
{
"id": "reedsy-stc",
"name": "Reedsy Save the Cat! Beat Sheet Guide",
"base_url": "https://reedsy.com",
"homepage": "https://reedsy.com",
"authority": "very_high",
"category": "story_structure_education",
"rate_limits": {
"request_interval_sec": 2.0,
"max_requests_per_minute": 25
},
"crawl_rules": {
"entry_points": [
"https://reedsy.com/blog/guide/story-structure/save-the-cat-beat-sheet/"
],
"allowed_patterns": [
"^https://reedsy\\.com/blog/guide/story-structure/.+$"
],
"blocked_patterns": [
"/marketplace/",
"/login/",
"/signup/",
"\\?.*utm_"
],
"follow_links": false,
"max_depth": 1,
"file_types": ["html"],
"file_patterns": []
},
"parsing_rules": {
"title": ["h1", "title"],
"beat_name": ["h2", "h3"],
"beat_description": ["h2 + p", "h3 + p", ".blog-post-content p"],
"page_ranges": ["p:contains('page')", "td"]
},
"notes": "Educational article with detailed STC explanations. Single-page target. No deep crawling needed."
},
{
"id": "finaldraft-beats",
"name": "Final Draft Blog — Beat Sheet Essentials",
"base_url": "https://www.finaldraft.com",
"homepage": "https://www.finaldraft.com",
"authority": "very_high",
"category": "story_structure_education",
"rate_limits": {
"request_interval_sec": 2.5,
"max_requests_per_minute": 20
},
"crawl_rules": {
"entry_points": [
"https://www.finaldraft.com/blog/what-is-a-beat-sheet-an-essential-screenwriting-tool-explained"
],
"allowed_patterns": [
"^https://www\\.finaldraft\\.com/blog/.+$"
],
"blocked_patterns": [
"/store/",
"/cart/",
"/account/",
"\\?.*utm_"
],
"follow_links": false,
"max_depth": 1,
"file_types": ["html"],
"file_patterns": []
},
"parsing_rules": {
"title": ["h1", "title"],
"section_heading": ["h2", "h3"],
"content": [".blog-content p", "article p"]
},
"notes": "Industry-standard software vendor. Single high-value article target."
},
{
"id": "chinese-short-drama-news",
"name": "Chinese Short Drama Craft News Aggregator",
"base_url": "https://news.qq.com",
"homepage": "https://news.qq.com",
"authority": "medium",
"category": "short_drama_craft",
"rate_limits": {
"request_interval_sec": 2.0,
"max_requests_per_minute": 25
},
"crawl_rules": {
"entry_points": [
"https://news.qq.com/rain/a/20250815A06YPK00",
"https://www.thepaper.cn/newsDetail_forward_31407239",
"https://kandian.sina.com.cn/article_3840084769_e4e30b2101902lc1q.html"
],
"allowed_patterns": [
"^https://news\\.qq\\.com/.+$",
"^https://www\\.thepaper\\.cn/.+$",
"^https://kandian\\.sina\\.com\\.cn/.+$"
],
"blocked_patterns": [
"/video/",
"/live/",
"\\?.*ad=",
"\\?.*utm_"
],
"follow_links": false,
"max_depth": 1,
"file_types": ["html"],
"file_patterns": []
},
"parsing_rules": {
"title": ["h1", "title"],
"author": [".author", ".article-author", ".post_author"],
"publish_time": ["time", ".publish-time", ".post_time"],
"content": [".content-article p", "#content p", ".article-content p"],
"tags": [".tag", ".keywords"]
},
"notes": "Practitioner interviews and hook/reversal formulas for Douyin/Kuaishou. Article pages only; no recursion."
},
{
"id": "chinese-structure-guides",
"name": "Chinese Story Structure Guides (Sohu / Douban / WeChat)",
"base_url": "https://www.sohu.com",
"homepage": "https://www.sohu.com",
"authority": "medium",
"category": "story_structure_education",
"rate_limits": {
"request_interval_sec": 2.0,
"max_requests_per_minute": 25
},
"crawl_rules": {
"entry_points": [
"https://www.sohu.com/a/282558444_285386",
"https://m.douban.com/book/review/13511605/",
"https://m.douban.com/book/review/13382062/",
"https://www.douban.com/group/topic/160393993/"
],
"allowed_patterns": [
"^https://www\\.sohu\\.com/a/.+$",
"^https://m\\.douban\\.com/.+$",
"^https://www\\.douban\\.com/.+$"
],
"blocked_patterns": [
"/search?",
"/login",
"/register"
],
"follow_links": false,
"max_depth": 1,
"file_types": ["html"],
"file_patterns": []
},
"parsing_rules": {
"title": ["h1", "title"],
"content": ["article p", ".rich-content p", ".topic-content p"],
"author": [".author-name", ".user-info"]
},
"notes": "Fan translations and practitioner summaries of Save the Cat! and Three-Act Structure in Chinese. WeChat pages may require handling MP redirect query strings."
}
]
}