Skip to content

Commit

Permalink
Merge pull request #140 from nblock/dev/crashes
Browse files Browse the repository at this point in the history
cbird.at: the date might occur multiple times
  • Loading branch information
nblock committed Jul 28, 2018
2 parents 2b8a391 + f57d651 commit a9277cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion feeds/spiders/cbird_at.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def parse_item(self, response):
il.add_xpath("title", "h1/text()")
il.add_value("link", response.url)
il.add_xpath("content_html", "h1/following-sibling::*")
il.add_value("updated", response.url.split("/")[-1])
il.add_value("updated", response.url.split("/")[-1].split("_")[0])
il.add_value("author_name", self.name)
yield il.load_item()

Expand Down

0 comments on commit a9277cb

Please sign in to comment.