Skip to content

Commit c602631

Browse files
authored
Update README.md
1 parent c0650ac commit c602631

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Scrapy/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,8 @@ The code below is for getting all the campaign links for a given start url (more
107107

108108
```
109109
for href in response.xpath("//h2[contains(@class, 'title headline-font')]/a[contains(@class, 'campaign-link')]//@href"):
110-
# add the scheme, eg http://
111-
url = "https:" + href.extract()
110+
# add the scheme, eg http://
111+
url = "https:" + href.extract()
112112
```
113113

114114
2. Exit Scrapy Shell using <b>exit()</b>. We do this while we should now understand the structure of where individual campaigns links are, we havent looked at where things are on individual campaigns.

0 commit comments

Comments
 (0)