JDownloader Metadata To Stash facilitates easy import of (URL) metadata from JDownloader right into to your Stash.
- Simple to setup and use!
- Works on all major operating systems!
- Great way to get URLs from your downloads into your Stash for further metadata scraping!
As files are downloaded, the JDownloader script saves a sidecar .csv
file by the downloaded file containing filename
, filesize
and URL
metadata.
The Powershell script iterates through whatever folder you provide it, and uploads metadata from the sidecar .csv
files into your Stash for matching files.
This part teaches JDownloader how to generate sidecar files for your downloads.
There are a few steps here, but don't worry-- you only need to do this once!
- Open
JD2_WriteMetadataToCSV.js
and copy everything to your clipboard - With JDownloader2 installed, go to JDownloader2's Settings menu and install the Event Scripter plugin (if it is not already installed.)
- Click on the newly installed Event Scripter plugin in the Settings menu, and then click on the "+ Add" button at the bottom of the screen
- Name the script "Write download information to a CSV"
- Set the Trigger to "Package finished"
- Click on the Edit button to the right of the newly named empty script
- In the window that appears, paste the contents of the script and save the file
- Done!
This part imports the URL metadata found in your sidecar metadata files into Stash.
You'll want to run this whenever you have new sidecar files to add to Stash.
- Download
Import_JD2_CSV_To_Stash.ps1
to your filesystem - Run
Import_JD2_CSV_To_Stash.ps1
- Select the folder you'd like to parse sidecar files from
- Press
Enter
when prompted to start the import - Done!
- Microsoft Windows, macOS, or your favourite distro of Linux
- Stash (Latest Version)
- JDownloader (Latest Version)
- Microsoft Powershell (available on all major operating systems) (Latest Version)