Commit 53872c19 authored by Ulises Morales Ramírez's avatar Ulises Morales Ramírez

Merge branch 'capital_estado_de_mexico' into 'master'

capitalEdomex

See merge request !6
parents 6125f574 909e04d9
...@@ -38,6 +38,7 @@ class NoticiasSpider(scrapy.Spider): ...@@ -38,6 +38,7 @@ class NoticiasSpider(scrapy.Spider):
self.start_urls = [ self.start_urls = [
f"https://{self.allowed_domains[0]}/wp-json/wp/v2/posts?after={self.year}-{self.month}-{self.day}T00:00:00&before={self.year}-{self.month}-{self.day}T23:59:59&per_page=100" f"https://{self.allowed_domains[0]}/wp-json/wp/v2/posts?after={self.year}-{self.month}-{self.day}T00:00:00&before={self.year}-{self.month}-{self.day}T23:59:59&per_page=100"
] ]
print(self.start_urls[0])
def parse(self, response): def parse(self, response):
""" """
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment