chore: disable dev filter for downloads
This commit is contained in:
@@ -23,8 +23,8 @@ class CountrydownloaderSpider(scrapy.Spider):
|
|||||||
"//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"
|
"//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()
|
).getall()
|
||||||
|
|
||||||
# for url in country_urls_xpath:
|
for url in country_urls_xpath:
|
||||||
for url in country_urls_xpath[:3]:
|
# for url in country_urls_xpath[:3]:
|
||||||
regex_match = re.search(r"\/wiki\/(?P<short_country_name>[^$]*)", url)
|
regex_match = re.search(r"\/wiki\/(?P<short_country_name>[^$]*)", url)
|
||||||
yield scrapy.Request(
|
yield scrapy.Request(
|
||||||
url=f"https://en.wikipedia.org{url}",
|
url=f"https://en.wikipedia.org{url}",
|
||||||
|
|||||||
Reference in New Issue
Block a user