Skip to content

Commit

Permalink
update method to get title from manga pages
Browse files Browse the repository at this point in the history
  • Loading branch information
_eternal_flame authored and _eternal_flame committed Jun 1, 2018
1 parent 2a8273e commit 5235bd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def img_from_member_illust_manga(self):
def get_info(content):
res = {}
res['work_type'] = "manga"
res['work_title'] = content.find("title").get_text()
res['work_title'] = content.find("footer", class_="end-page").find("nav").find_all("li")[-1].get_text(strip=True)
profile_module = content.find("footer").find(
"div", class_="profile-module").find("div")
res['work_id'] = profile_module['data-illust-id']
Expand Down

0 comments on commit 5235bd4

Please sign in to comment.