Scrape metadata from FAKKU or Panda and build your own local FAKKU library with Komga or any other CMS that supports ComicInfo.xml
metadata.
Example results
<ComicInfo xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Title>Sekigahara-san Has Something to Hide</Title>
<Series>Sekigahara-san Has Something to Hide</Series>
<Number>1</Number>
<Summary>Thrilling and agonizing! The start of a rich girl series!</Summary>
<Year>2020</Year>
<Month>01</Month>
<Writer>Tsukako</Writer>
<Publisher>FAKKU</Publisher>
<Tags>Bunny Girl, Busty, Cosplay, Deepthroat, Fishnets, Hentai, Light Hair, No Sex, Ojousama, Paizuri, Stockings, Story Arc, Uncensored</Tags>
<Genre>Original Work</Genre>
<Web>https://www.fakku.net/hentai/sekigahara-san-has-something-to-hide-english</Web>
<LanguageISO>en</LanguageISO>
<Manga>Yes</Manga>
<SeriesGroup>Comic Kairakuten BEAST 2020-01</SeriesGroup>
<AgeRating>Adults Only 18+</AgeRating>
</ComicInfo>
- PowerShell 5.0 or higher (6.0+ recommended)
- Komga or any other CMS that supports
ComicInfo.xml
metadata
[Circle (Artist)] Title (Comic XXX) [Publisher] [etc.].ext
[Artist] Title (Comic XXX).ext
Title (Comic XXX).ext
Title.ext
.zip
.cbz
.rar
.cbr
.7z
.cb7
- Clone the repository by downloading and extracting the files to a directory of your choice or with Git.
git clone https://github.com/shrublet/FKULibrary.git
-
It's highly recommneded to setup and download Selenium as well to access publicly blocked pages. Download the WebDriver for your browser and the Selenium for C# package (linked below). Extract the WebDriver executable (for Google Chrome, this would be
chromedriver.exe
) andWebDriver.dll
from the raw.nupkg
package to the root of your extracted repository (i.e..\fakku-meta-scraper-main
).-
⚠️ TheWebDriver.dll
is packaged inside.nupkg
file under.\lib\net48\
and can be opened via any file archiver. Most Windows PCs should have .NET 4.8, so this is the recommended library. If the WebDriver isn't working as expected, ensure the version matches with your browser or try updating your browser/downgrading the WebDriver.
-
- You will need to do this every time you close your PowerShell window unless you add the module to your PowerShell module PATH. Ensure that your PowerShell window is opened in the correct directory.
cd "C:\path\to\extracted\repository"
Import-Module .\Fakku-Library.psm1
Set-FakkuMetadata
-FilePath
-Recurse
-Url
-UrlFile
-InputFile
-Sleep
-Destination
-Safe
-Headless
-Incognito
-Log
-LogPath
Show-FakkuMetadata
-Name
-Url
-Safe
-Headless
-Incognito
Get-FakkuLinks
Set-FakkuMetadata -FilePath "C:\path\to\file.zip"
Set-FakkuMetadata -FilePath "C:\path\to\files"
Set-FakkuMetadata "C:\path\to\file.zip" -Url "https://www.fakku.net/hentai/Bare-Girl-english"
Set-FakkuMetadata -InputFile "C:\path\to\list\of\archives.txt"
Set-FakkuMetadata "C:\path\to\files" -UrlFile "C:\path\to\list\of\urls.txt"
Show-FakkuMetadata https://www.fakku.net/hentai/Bare-Girl-english
Show-FakkuMetadata "Bare Girl"
Archive or directory or archives to set metadata for
Work title to search FAKKU/Panda for
Whether to recursively search the directory for archives (default:
False
)
FAKKU/Panda URL to pull metadata from
Time to sleep between scrapes (default:
0
)
Text file with directories to tag
Text file with FAKKU/Panda URLs to use for tagging (compatible with both
-FilePath
and-InputFile
)
Path to move completed archives to (default:
None
)
Force the use of Selenium to scrape metadata to avoid edge-case metadata issues (default:
False
)
Launches browser in headless mode (default:
True
)
Launches browser in incognito/private mode (default:
False
)
If logs should be written (default:
False
)
Path to save log to (default:
.\fakku_library.log
)
Footnotes
-
Currently only supports Google Chrome, Microsoft Edge, and Firefox. ↩