#1
|
|||
|
|||
Imgspice.com not working
Hello guys
Imgspice links seems to stop working. Using this test link **External links are only visible to Support Staff****External links are only visible to Support Staff** I get this log when checking link
Spoiler:
--ID:14955TS:1556547896722-4/29/19 11:24:56 AM - [jd.plugins.hoster.ImgSpiceCom(requestFileInformation)] -> filename equals null, throwing "plugin defect" --ID:14955TS:1556547896722-4/29/19 11:24:56 AM - [] -> Exception thrown at jd.controlling.linkchecker.LinkChecker.updateAvailableStatus(LinkChecker.java:564): jd.plugins.PluginException: ERROR_PLUGIN_DEFECT|Value:-1 at jd.plugins.hoster.ImgSpiceCom.requestFileInformation(ImgSpiceCom.java:160) at jd.plugins.PluginForHost.checkLink(PluginForHost.java:1879) at jd.controlling.linkchecker.LinkChecker.updateAvailableStatus(LinkChecker.java:562) at jd.controlling.linkchecker.LinkChecker.access$200(LinkChecker.java:38) at jd.controlling.linkchecker.LinkChecker$1.run(LinkChecker.java:423) --ID:14955TS:1556547896723-4/29/19 11:24:56 AM - [jd.controlling.linkchecker.LinkChecker(updateAvailableStatus)] -> Link **External links are only visible to Support Staff****External links are only visible to Support Staff** is UNCHECKABLE And this log when trying to bypass checking and download directly
Spoiler:
--ID:15013TS:1556548005217-4/29/19 11:26:45 AM - [jd.plugins.hoster.ImgSpiceCom(requestFileInformation)] -> filename equals null, throwing "plugin defect" --ID:15013TS:1556548005217-4/29/19 11:26:45 AM - [] -> Exception thrown at jd.controlling.downloadcontroller.SingleDownloadController.download(SingleDownloadController.java:42 4): jd.plugins.PluginException: ERROR_PLUGIN_DEFECT|Value:-1 at jd.plugins.hoster.ImgSpiceCom.requestFileInformation(ImgSpiceCom.java:160) at jd.plugins.hoster.ImgSpiceCom.handleFree(ImgSpiceCom.java:216) at jd.plugins.PluginForHost.handle(PluginForHost.java:1128) at jd.controlling.downloadcontroller.SingleDownloadController.download(SingleDownloadController.java:41 9) at jd.controlling.downloadcontroller.SingleDownloadController.run(SingleDownloadController.java:598) --ID:15013TS:1556548005217-4/29/19 11:26:45 AM - [jd.controlling.downloadcontroller.SingleDownloadController(download)] -> Exception: --ID:15013TS:1556548005218-4/29/19 11:26:45 AM - [] -> Exception thrown at jd.controlling.downloadcontroller.SingleDownloadController.download(SingleDownloadController.java:48 4): jd.plugins.PluginException: ERROR_PLUGIN_DEFECT|Value:-1 at jd.plugins.hoster.ImgSpiceCom.requestFileInformation(ImgSpiceCom.java:160) at jd.plugins.hoster.ImgSpiceCom.handleFree(ImgSpiceCom.java:216) at jd.plugins.PluginForHost.handle(PluginForHost.java:1128) at jd.controlling.downloadcontroller.SingleDownloadController.download(SingleDownloadController.java:41 9) at jd.controlling.downloadcontroller.SingleDownloadController.run(SingleDownloadController.java:598) --ID:15013TS:1556548005218-4/29/19 11:26:45 AM - [jd.controlling.downloadcontroller.SingleDownloadController(run)] -> StopDownloadMarker:1556548003061 ------------------------Thread: 15011:imgspice.com_jd.plugins.hoster.ImgSpiceCom----------------------- --ID:15011TS:1556548005219-4/29/19 11:26:45 AM - [jd.controlling.downloadcontroller.DownloadWatchDog(handleReturnState)] -> Plugin Defect.1 --ID:15011TS:1556548005220-4/29/19 11:26:45 AM - [jd.controlling.downloadcontroller.DownloadWatchDog$27(execute)] -> Rename after Download? Tried to check the source code to help but seems harder to understand compare to other hosts. Hope it can be fixed Thanks! |
#2
|
||||
|
||||
those sites imgspice/space....always change javascript/layout to break plugin again..and again..and again
__________________
JD-Dev & Server-Admin |
#3
|
||||
|
||||
it's not that complex but using a template for xfs which has multiple modes (image, video, download...)
you should first try to rewrite plugin to extend XFileSharingProBasic and implement/override the required methods. but yes, definite more complex for *first time* plugins
__________________
JD-Dev & Server-Admin |
#4
|
||||
|
||||
Fixed.
-psp-
__________________
JD Supporter, Plugin Dev. & Community Manager
Erste Schritte & Tutorials || JDownloader 2 Setup Download |
#5
|
|||
|
|||
Thank you so much @Jiaz and @pspzockerscene, that was fast!
I think my problem was checking the source code through and old version (something similar than the one available at github that doesn't extend XFileSharingProBasic) Just one small thing, I notice from my example link that the picture is saved as "6wfkkzpt0bhx.jpg". **External links are only visible to Support Staff****External links are only visible to Support Staff** Do you think the name could be taken from the original url, or from the "alt" attribute that is included in the html within the img tag? <img id="imgpreview" src="**External links are only visible to Support Staff** style="border: 1px #e4e4e4 solid; max-width: 90%;margin-top: 20px;" class="pic" alt="test.jpg" onclick="ghisthendsx()"> |
#6
|
||||
|
||||
@ninguno: You can find out subversion repositories here, https://svn.jdownloader.org/projects/jd
Did you test if alt provides useful/real names or maybe always test.jpg or is it the upload filename?
__________________
JD-Dev & Server-Admin |
#7
|
|||
|
|||
Yes, i already check several links, and both the "alt" attribute or the url last part has the correct filename.
I tried to check the source code and found some methods for picking the filesize from alt attributes but didn't found something similar for filename. |
#8
|
||||
|
||||
You could try to add support for it ?
I've also linked your suggestion in ticket
__________________
JD-Dev & Server-Admin |
#9
|
||||
|
||||
@ninguno
I know that "alt" tag plus that new plugin is also using more ways to determine the filename. For me, it already works fine (version using current SVN Code) and it gets displayed- and saved as "test.jpg". -psp-
__________________
JD Supporter, Plugin Dev. & Community Manager
Erste Schritte & Tutorials || JDownloader 2 Setup Download |
#10
|
|||
|
|||
Thanks @pspzockerscene, maybe is because i'm not using the full svn version then, i just download and compile the new ImgSpiceCom plugin but using the official release.
For reference I temporary resolved this overriding scanInfo on ImgSpiceCom class, but surely is not the right thing.
Spoiler:
@Override public String[] scanInfo(final String[] fileInfo) { if (inValidate(fileInfo[0])) { fileInfo[0] = new Regex(correctedBR, "class="pic" alt="([^<>"]*?)"").getMatch(0); } return super.scanInfo(fileInfo); } |
#11
|
||||
|
||||
@ninguno: I suggest to setup IDE and just run JDownloader from within IDE. That way you will get changes fastest and can always debug/work on latest version
__________________
JD-Dev & Server-Admin |
Thread Tools | |
Display Modes | |
|
|