Skip to content

Commit

Permalink
Merge pull request #191 from Lukas0907/next
Browse files Browse the repository at this point in the history
ORF.at: Fix extraction of images.
  • Loading branch information
Lukas0907 committed Feb 10, 2019
2 parents c9069ce + 9f01c48 commit 76f91bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion feeds/spiders/orf_at.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ def _parse_article(self, response):
".video": "<p><em>Hinweis: Das eingebettete Video ist nur im Artikel "
+ "verfügbar.</em></p>"
}
change_attribs = {"img": {"data-src": "src"}}
change_attribs = {"img": {"data-src": "src", "srcset": "src"}}
change_tags = {".image": "figure", ".caption": "figcaption"}
author, author_selector = self._extract_author(response)
if author:
Expand Down

0 comments on commit 76f91bd

Please sign in to comment.