JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 17.12.2017, 15:26
deepsepia deepsepia is offline
Junior Loader
 
Join Date: Jan 2011
Posts: 10
Default Ripping a list of TGP image galleries into individual directories using linkgrabber

Hi,

I wonder if someone might have a thought about how to do this. I use linkgrabber to rip images from thumbnail galleries, but when there are a bunch of galleries, each of which has files numbered 1.jpg, 2.jpg, 3.jpg and so on-- the files get over-written.

What I'd link to do is to input a list of webpages into linkgrabber that looks like this

somesite/Gallery1 [dot html]
somesite/Gallery2
somesite/Gallery3
somesite/Gallery4


etc . .


. . . where each page is a gallery, with file 1.jpg, 2.jpg, 3.jpg and so on-- but instead of just dumping all these dupes into one directory, instead keeping them a separate directory for the specific page that they come from.

That is, I'd like to generate a package that writes
/Gallery1/1.jpg, 2.jpg, 3.jpg and so on
/Gallery2/1.jpg, 2.jpg, 3.jpg
/Gallery3/1.jpg, 2.jpg, 3.jpg

. . . instead of just dumping them all into one directory [folder]

Any ideas?

Last edited by deepsepia; 17.12.2017 at 16:03.
Reply With Quote
  #2  
Old 17.12.2017, 15:32
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 16,059
Default

@deepsepia
easiest solution in my mind is that you make a simple decrypter plugin.
you specify that url, it parses and sets a package name based on some information or url component that's unique and can also set the filename based on info within source or indexing.

there are hundreds of imaging based decrypter plugins in which you can use as examples. look for manga or anime based plugins

raztoki
__________________
raztoki @ jDownloader reporter/developer
http://svn.jdownloader.org/users/170

Don't fight the system, use it to your advantage. :]
Reply With Quote
  #3  
Old 17.12.2017, 16:01
deepsepia deepsepia is offline
Junior Loader
 
Join Date: Jan 2011
Posts: 10
Default

@raztoki
Thank you! I was wondering about a decrypter plugin, but wanted to check that I wasn't missing some obvious more general solution.
Reply With Quote
  #4  
Old 19.12.2017, 19:10
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 62,397
Default

You can either write a dedicated decrypter plugin
or use Packagizer and create rules that use information from within the url to create folder structure or change naming scheme.
It would be lot easier to help if you would provide real working example links
Either post them here or send to support@jdownloader.org

You could also use Folderwatch extension and Crawljobs and specify the urls within there. In crawljobs you can customize packagename and downloaddirectory for each job.
__________________
JD-Dev & Server-Admin
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 16:42.
Provided By AppWork GmbH | Privacy | Imprint
Parts of the Design are used from Kirsch designed by Andrew & Austin
Powered by vBulletin® Version 3.8.10 Beta 1
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.