File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -156,38 +156,37 @@ response.xpath("//div[contains(@id, 'campaign-title')]/descendant::text()").extr
156156amount Raised:
157157
158158```
159-
159+ response.xpath("//span[contains(@class, 'stat')]/span[contains(@class, 'amount-raised')]/descendant::text()").extract()
160160```
161161
162162goal:
163163```
164-
164+ response.xpath("//div[contains(@class, 'stats-primary with-goal')]//span[contains(@class, 'stats-label hidden-phone')]/text()").extract()
165165```
166166
167167currency type:
168-
169168```
170-
169+ response.xpath("//div[contains(@class, 'stats-primary with-goal')]/@title").extract()
171170```
172171
173172campaign end date:
174173```
175-
174+ response.xpath("//div[contains(@id, 'campaign-stats')]//span[contains(@class,'stats-label hidden-phone')]/span[@class='nowrap']/text()").extract()
176175```
177176
178177number of contributors:
179178```
180-
179+ response.xpath("//div[contains(@class, 'stats-secondary with-goal')]//span[contains(@class, 'donation-count stat')]/text()").extract()
181180```
182181
183182story:
184183```
185-
184+ response.xpath("//div[contains(@id, 'full-story')]/descendant::text()").extract()
186185```
187186
188187url:
189188```
190-
189+ response.xpath("//meta[@property='og:url']/@content").extract()
191190```
192191
1931925 . Exit scrapy shell by typing:
You can’t perform that action at this time.
0 commit comments