Skip to content

Commit

Permalink
Merge pull request #181 from PyFeeds/misc
Browse files Browse the repository at this point in the history
Fix invalid attribute access
  • Loading branch information
nblock committed Oct 5, 2018
2 parents cd61665 + 0e88ea0 commit 403a116
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion feeds/spiders/ak_ciando_com.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def parse_item(self, response):
il.add_xpath("title", '//h1[@class="p_book_title"]/text()')
il.add_xpath("title", '//h3[@class="p_book_title_ebook"]/text()')
il.add_value("link", response.url)
il.add_value("author_name", self._title)
il.add_value("author_name", self.feed_title)
il.add_xpath("content_html", '//h1[@class="p_book_title"]/text()')
il.add_xpath("content_html", '//h2[@class="p_book_author"]/text()')
il.add_xpath("content_html", '//p[@class="p_book_publisher"]/text()')
Expand Down

0 comments on commit 403a116

Please sign in to comment.