chore: fix flag file url

This commit is contained in:
2022-06-24 22:20:34 +01:00
parent cb82bd226f
commit 17b0462da5

View File

@@ -100,6 +100,6 @@ class CountrydownloaderSpider(scrapy.Spider):
country_scrapy_item["short_country_name"] = country_item["short_country_name"] country_scrapy_item["short_country_name"] = country_item["short_country_name"]
country_scrapy_item["country_html"] = country_item["country_html"] country_scrapy_item["country_html"] = country_item["country_html"]
country_scrapy_item["flag_html"] = country_item["flag_html"] country_scrapy_item["flag_html"] = country_item["flag_html"]
country_scrapy_item["file_urls"] = [f"https://en.wikipedia.org{flag_image_xpath}"] country_scrapy_item["file_urls"] = [f"https://{flag_image_xpath}"]
yield country_scrapy_item yield country_scrapy_item