On 2/16/2018 1:33 AM, p_s wrote:
> So I have been trying to figure out how to scrape data and I am
> struggling to figure out how to get the word count, hits, kudos and
> content rating from AO3 into custom columns on calibre.
Assuming you've already created the appropriate columns you referenced:
Word count and rating are 'standard' metadata entries available for most
sites. They can be set on the 'Custom Columns' tab of FanFicFare
config. That will effect all sites.
For the AO3 site-specific hits & kudos, you need to turn on the 'Allow
custom_columns_settings' checkbox on the 'Custom Columns' tab of FFF
config. You can then go into the personal.ini tab of FFF config and add
custom_columns_settings settings under the [
archiveofourown.org] section
(which you may have to add if you don't already have one). Note the
space at the beginning of each line under custom_columns_settings.
[
archiveofourown.org]
add_to_custom_columns_settings:
kudos=>#kudos
hits=>#hits
The documentation for custom_columns_settings is here:>
https://github.com/JimmXinu/FanFicFare/blob/master/calibre-plugin/plugin-defaults.ini#L266
'add_to_' is in case you already have a custom_columns_settings under
[defaults]. For a full explanation, see:
>
https://github.com/JimmXinu/FanFicFare/wiki/INI-File#add_to_keyword
There's been a ton of discussion on custom columns in past in the plugin
forum. The forum search doesn't want to find them, but this does:
>
https://www.google.com/search?q=site%3Amobileread.com+"custom_columns_settings"
Forum:
https://www.mobileread.com/forums/showthread.php?t=259221
Jim