JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 04.03.2023, 19:26
monk e monk e is offline
Modem User
 
Join Date: Nov 2021
Posts: 3
Default [Cloudflare] Spankbang.com plugin needs an UPDATE!

in the plugin settings clearly states plugin outdated for spankbang.com

a fix would be appreciated
Reply With Quote
  #2  
Old 04.03.2023, 19:43
MrGonzo's Avatar
MrGonzo MrGonzo is offline
JD Legend
 
Join Date: Dec 2010
Posts: 612
Default

Same issue with spankbang as well....pluging needs an update please asap.

Thanks
Reply With Quote
  #3  
Old 05.03.2023, 23:57
NatSpectre NatSpectre is offline
Modem User
 
Join Date: Mar 2023
Posts: 1
Default Spankbang.com plugin needs an UPDATE!

It keeps timing out and no downloads can be recognized.
It is the one site I use JDownloder for THE MOST
This needs a FIX ASAP!
Click image for larger version

Name:	Screenshot_1.jpg
Views:	1
Size:	74.2 KB
ID:	10430
Reply With Quote
  #4  
Old 06.03.2023, 11:39
gandalf_grey91 gandalf_grey91 is offline
Super Loader
 
Join Date: Sep 2014
Posts: 29
Default

Yes, I can confirm, am experiencing the same issue.
Reply With Quote
  #5  
Old 06.03.2023, 11:40
gandalf_grey91 gandalf_grey91 is offline
Super Loader
 
Join Date: Sep 2014
Posts: 29
Default

Yes, I can confirm, am experiencing the same issue.
Reply With Quote
  #6  
Old 07.03.2023, 20:12
MrGonzo's Avatar
MrGonzo MrGonzo is offline
JD Legend
 
Join Date: Dec 2010
Posts: 612
Default

Admins...Any idea when this is going to be fixed?
Reply With Quote
  #7  
Old 08.03.2023, 19:49
KennethR KennethR is offline
Modem User
 
Join Date: Oct 2022
Posts: 2
Default

Yeah, it's broken. You have to open a page, start the clip, then right-click and copy-paste in JDL. Sucks big time.

Thanks for a very useful program when it works
Reply With Quote
  #8  
Old 09.03.2023, 09:08
mr.danbg mr.danbg is offline
Modem User
 
Join Date: Apr 2021
Posts: 3
Default

Quote:
Originally Posted by NatSpectre View Post
It keeps timing out and no downloads can be recognized.
It is the one site I use JDownloder for THE MOST
This needs a FIX ASAP!
Attachment 10430
+1
Reply With Quote
  #9  
Old 09.03.2023, 20:24
monk e monk e is offline
Modem User
 
Join Date: Nov 2021
Posts: 3
Default

have all of you submitted tickets on this with debug logs etc etc. i can't believe its taking this long to fix this problem, i will be submitting a debug log after work today and i suggest that the rest of you also submit tickets on this issue because its clear that the answer to the problem isn't going to be solved merely with posts here on the forum
Reply With Quote
  #10  
Old 10.03.2023, 12:42
dramaman dramaman is offline
JD Addict
 
Join Date: May 2013
Posts: 151
Default

Log
10.03.23 05.38.34 <--> 10.03.23 05.40.22 jdlog://1583311370661/
also, it seems to work perfectly fine on one computer but then not on another, perhaps This is why this is taking so long? I just noticed this a few days on my computer but my other computer works fine still, both have the same version and are up to date
Reply With Quote
  #11  
Old 11.03.2023, 00:59
Bosco1 Bosco1 is offline
Modem User
 
Join Date: May 2022
Posts: 1
Default

Quote:
Originally Posted by NatSpectre View Post
It keeps timing out and no downloads can be recognized.
It is the one site I use JDownloder for THE MOST
This needs a FIX ASAP!
Attachment 10430
Have found same problem on SpankBang (and, so far, no other site on which jDownloader2 works). I am confident this is a recent development; Spankbang previously worked without a problem.
Am using Windows 10 Prof with all updates and latest version jDownloader2.
Reply With Quote
  #12  
Old 11.03.2023, 15:12
gandalf_grey91 gandalf_grey91 is offline
Super Loader
 
Join Date: Sep 2014
Posts: 29
Default

I raised a ticket and provided logs and have since received an email response from Jiaz.

He has explained that the issue with the plugin is caused by the website now using Cloudflare for protection, as it breaks "login and whole process".

He suggested using the cookie login method to resolve the issue, which I can say absolutely does not resolve the issue.

I have emailed him back explaining that I have never been logged in and have had no issues with the plugin working with the Linkgrabber until now, thus I believe the explanation I have been provided is incorrect.

I have asked if there is anything else that can be investigated.

Not sure what will happen from here.
Reply With Quote
  #13  
Old 11.03.2023, 15:29
omega59 omega59 is offline
Ultra Loader
 
Join Date: Jul 2019
Location: Canada
Posts: 49
Default

I was able to test this and I was able to grab a couple of video clip just now. I didn't get any cloudflare or captcha or needed a log-in. LinkGrabber picked up the file and everything for me. All i did was click a video, and copy the url. Mind you, it doesn't tell me the size,hoster. Just that it's a video and 1.
Reply With Quote
  #14  
Old 11.03.2023, 16:55
gandalf_grey91 gandalf_grey91 is offline
Super Loader
 
Join Date: Sep 2014
Posts: 29
Default

I do not understand how any one is successfully getting the Linkgrabber to work with this website.

I have tried numerous ways of capturing the URL and the Linkgrabber will not register them at all.

I have opened the page of a video, nothing. I have tried playing the video and right clicking on it, nothing happens.

I have tried finding the video's location within the source code of the page and copying that to the Linkgrabber, doesn't work.

I have copying all three of the methods mentioned above and tried to use the add new links button on the Linkgrabber tab, to do a deep dive, it searches for a few seconds but never finds/adds any links.

I have tried to do all of the above after trying to log in, using the the cookie login method but it just says plugin outdated on the account manager tab in settings and just keeps cycling through a 60-minute countdown saying temp disabled.

Last edited by gandalf_grey91; 11.03.2023 at 16:58.
Reply With Quote
  #15  
Old 12.03.2023, 06:37
MrGonzo's Avatar
MrGonzo MrGonzo is offline
JD Legend
 
Join Date: Dec 2010
Posts: 612
Default

Update:

Suddenly today without doing anything on my end, SB links started DLing again. Before all I could get was the "Plugin outdated" error. Never had an issue with the linkgrabber grabbing the links. The error was my only issue.

So whoever/whatever fixed this...thank you.
Reply With Quote
  #16  
Old 12.03.2023, 11:09
andy2 andy2 is offline
Modem User
 
Join Date: Jun 2016
Posts: 4
Default

Stacktrace: java.lang.NullPointerException
at org.appwork.storage.simplejson.JSonParser.skipWhiteSpace(JSonParser.java:615)
at org.appwork.storage.simplejson.JSonParser.parseValue(JSonParser.java:511)
at org.appwork.storage.simplejson.JSonParser.parse(JSonParser.java:215)
at org.jdownloader.scripting.JavaScriptEngineFactory.jsonToJavaObject(JavaScriptEngineFactory.java:998)
at jd.plugins.decrypter.SpankBangComCrawler.findQualities(SpankBangComCrawler.java:416)
at jd.plugins.decrypter.SpankBangComCrawler.parseCrawlSingleVideo(SpankBangComCrawler.java:250)
at jd.plugins.decrypter.SpankBangComCrawler.crawlSingleVideo(SpankBangComCrawler.java:210)
…

now check the source code of a spankbang.com video URL, you'll find a line like this:

Code:
    var stream_data = {'240p': ['…
the stacktrace from above shows that it tries to parse this as JSON, which it is not - it is JavaScript, it uses single quotes. JSON uses double quotes, i.e. if it should be parsable as JSON it would have look like this instead:

Code:
    var stream_data = {"240p": ["…
I think it's a reasonably safe bet that this line doesn't contain literal quotes and as quick and dirty workaround simply replace all single quotes with double quotes to make it parsable as JSON again: js.replaceAll("'","\"")

PATCH:

Code:
Index: src/jd/plugins/decrypter/SpankBangComCrawler.java
===================================================================
--- src/jd/plugins/decrypter/SpankBangComCrawler.java
+++ src/jd/plugins/decrypter/SpankBangComCrawler.java
@@ -437,7 +437,7 @@ public class SpankBangComCrawler extends PluginForDecrypt {
             /* 2021-06-10 */
             final String js = br.getRegex("var stream_data = (\\{.*?\\})").getMatch(0);
             try {
-                final Map<String, Object> entries = (Map<String, Object>) JavaScriptEngineFactory.jsonToJavaObject(js);
+                final Map<String, Object> entries = (Map<String, Object>) JavaScriptEngineFactory.jsonToJavaObject(js.replaceAll("'","\""));
                 for (final String q : knownQualities) {
                     final Object qO = entries.get(q);
                     if (qO == null) {
Edit: the forum-software seems to be eating one backslash in front of a double quote if it is not in a code-block when clicking "Preview Changed"; adjusted accordingly

Last edited by andy2; 12.03.2023 at 12:22.
Reply With Quote
  #17  
Old 13.03.2023, 22:56
Chinesechicken420 Chinesechicken420 is offline
Modem User
 
Join Date: Oct 2022
Posts: 2
Default

TYVM. Wish I wasn't as much of a n00b so I could patch this myself haha. But appreciate it.
Reply With Quote
  #18  
Old 14.03.2023, 08:13
MrGonzo's Avatar
MrGonzo MrGonzo is offline
JD Legend
 
Join Date: Dec 2010
Posts: 612
Default

Update 2: So suddenly today the linkgrabber will not grab any SB links. Was working fine yesterday, did nothing here. Thought it was fixed but I guess have to try another way.

Please fix this plugin asap.

Thanks
Reply With Quote
  #19  
Old 14.03.2023, 08:55
tony2long's Avatar
tony2long tony2long is offline
English Supporter
 
Join Date: Jun 2009
Posts: 6,510
Default

Looks like cloudflare to me.
The patch is for non cloudflare and won't help us directly because we still need to wait for core update.
__________________
FAQ: How to upload a Log
Reply With Quote
  #20  
Old 14.03.2023, 16:59
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 69,719
Default

Works fine here in stable and dev build.

Looks like Cloudflare and/or a website change that might have been reverted by spankbang.com(?)

If you keep having issues:

Please post your log-ID here | bitte poste deine Log-ID hier.

-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?


-----------------------------------
On Vacation / Im Urlaub
Start: 2023-12-09
End: TBA

Last edited by pspzockerscene; 14.03.2023 at 19:38.
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 02:57.
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 - 2023, Jelsoft Enterprises Ltd.