mirror of
https://github.com/wassname/FanFicFare.git
synced 2026-10-04 12:10:26 +08:00
Save corrected URL in DownloadMeta record so status & recent have good URL.
This commit is contained in:
1 parent
433e371b74
commit
f25eae83d3
1 file changed
+2
@@ -293,6 +293,7 @@ class FanfictionDownloader(UserConfigServer):
|
||||
story = adapter.getStoryMetadataOnly()
|
||||
download.title = story.getMetadata('title')
|
||||
download.author = story.getMetadata('author')
|
||||
download.url = story.getMetadata('storyUrl')
|
||||
download.put()
|
||||
|
||||
taskqueue.add(url='/fdowntask',
|
||||
@@ -413,6 +414,7 @@ class FanfictionDownloaderTask(UserConfigServer):
|
||||
logging.debug('getOutputFileName:'+writer.getOutputFileName())
|
||||
download.title = adapter.getStory().getMetadata('title')
|
||||
download.author = adapter.getStory().getMetadata('author')
|
||||
download.url = adapter.getStory().getMetadata('storyUrl')
|
||||
download.put()
|
||||
index=0
|
||||
|
||||
|
||||
Reference in new issue
Block a user