JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 27.01.2024, 16:10
jdmani jdmani is offline
JD Fan
 
Join Date: Oct 2010
Posts: 76
Default jpg4.su not working with more than one page

Seems jp4.su changed pagination method so items besides the first 42 are not processed.

Changing the seek regex line from

Code:
String seek = br.getRegex("data-action=\"load-more\" data-seek=\"([^\"]+)\"").getMatch(0);
to

Code:
String seek = br.getRegex("<a data-pagination=\"next\" href=\"https?://(?:.*)/?page=(?:[0-9]+)&seek=([^\"]+)").getMatch(0);
temporary works. But probably there is a bettter way

PS: Would be possible to have files/pics sorted in somewhay, maybe adding a number at the beginning?

Last edited by jdmani; 27.01.2024 at 18:06.
Reply With Quote
  #2  
Old 02.02.2024, 13:42
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 73,157
Default

Hi,
please provide (album?) example URLs.

Quote:
Originally Posted by jdmani View Post
PS: Would be possible to have files/pics sorted in somewhay, maybe adding a number at the beginning?
I can add a Packagizer property then you can modify the filenames in your preferred way.
__________________
JD Supporter, Plugin Dev. & Community Manager

Erste Schritte & Tutorials || JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
Reply With Quote
  #3  
Old 02.02.2024, 15:01
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 73,157
Default

Fixed pagination and added property representing the position of the image as key "position".

Wartest du auf einen angekündigten Bugfix oder ein neues Feature?
Updates werden nicht immer sofort bereitgestellt!
Bitte lies unser Update FAQ! | Please read our Update FAQ!

---
Are you waiting for recently announced changes to get released?
Updates to not necessarily get released immediately!
Bitte lies unser Update FAQ! | Please read our Update FAQ!


-psp-
__________________
JD Supporter, Plugin Dev. & Community Manager

Erste Schritte & Tutorials || JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
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 01:21.
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 - 2024, Jelsoft Enterprises Ltd.