chore: change indent
This commit is contained in:
@@ -68,7 +68,7 @@ response
|
||||
|
||||
- Extract data using xpath:
|
||||
```
|
||||
countries = response.xpath("//table[contains(@class, 'sortable') and contains(@class, 'wikitable')]/tbody/tr[not(contains(@style, 'background'))]/td[1 and contains(@style, 'vertical-align:top;')]/b/a/@href")
|
||||
countries = response.xpath("//table[contains(@class, 'sortable') and contains(@class, 'wikitable')]/tbody/tr[not(contains(@style, 'background'))]/td[1 and contains(@style, 'vertical-align:top;')]/b/a/@href").getall()
|
||||
countries[0]
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user