ABCDEFG
1
2
Make a copy of this sheet, and start by using some of the available advertools functions by typing =adv_
3
4
For example, let's get an XML sitemap's URLs by typing =ADV_SITEMAP_URLS("https://www.theverge.com/sitemaps")
5
6
Getting XML sitemap URLs, scraing desired elements, and
analyzing URL content, demo video and link to sheet:
7
https://bit.ly/3Ki2bvj
8
9
Keep in mind
10
Sheets formulas are dynamic and keep updating when a sheet changes. If you have thousands of URLs that have ben scraped, it will keep re-scraping them.
11
A good practice is, once you scrape content, to copy and paste values in the same cells, to prevent refetching the same content.
12
This is also good to keep a history of the scraped content (crawl1, crawl2, etc.)
13
14
15
16
17
Questions, suggestions, bugs:
18
https://www.linkedin.com/in/eliasdabbas/
19
https://x.com/eliasdabbas
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