View Single Post
Old 08-02-2022, 04:12 PM   #7391
estherflails
Member
estherflails began at the beginning.
 
Posts: 23
Karma: 10
Join Date: Jul 2021
Device: none
Hello! I modified the ao3 adapter a bit to get the inspired works metadata and it works, but only for single chaptered stories, since this information only shows up in the last chapter.

But since there is a method for FFF to use the full_work view to download the entire work, I was wondering if it was possible to use this to get the metadata from the end as well. I'm not a programmer so I don't know how complicated this would be. It's not a problem if it's not possible, but I thought I'd ask. Thank you!

example link: https://archiveofourown.org/works/29...pters/71633358

Code:
inspired = metasoup.find('div',{'id':'children'})
if inspired:
    self.story.setMetadata('inspired',stripHTML(inspired.text))
estherflails is offline   Reply With Quote