mirror of
https://github.com/JimmXinu/FanFicFare.git
synced 2026-01-29 03:32:54 +01:00
Removed superfluous code
This commit is contained in:
parent
e8904ec061
commit
0c3ccb4e7c
1 changed files with 2 additions and 5 deletions
|
|
@ -95,14 +95,11 @@ class FanficHuAdapter(BaseSiteAdapter):
|
|||
if query_data['sid'] == story_id:
|
||||
break
|
||||
|
||||
title = title_anchor.string
|
||||
self.story.setMetadata('title', title)
|
||||
if not chapter_options:
|
||||
self.chapterUrls.append((title, self.url))
|
||||
self.story.setMetadata('title', title_anchor.string)
|
||||
|
||||
rows = table('tr')
|
||||
anchors = rows[0].div('a')
|
||||
|
||||
anchors = rows[0].div('a')
|
||||
author_anchor = anchors[1]
|
||||
query_data = _get_query_data(author_anchor['href'])
|
||||
self.story.setMetadata('author', author_anchor.string)
|
||||
|
|
|
|||
Loading…
Reference in a new issue