JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 05.04.2019, 05:40
laythstag laythstag is offline
Modem User
 
Join Date: Apr 2019
Posts: 1
Default Trying to get linkgrabber to grab XPT files

As the title says, I am trying to get linkgrabber to grab XPT (Statistical Analysis Software Transport File) files. But it just cycles like it is looking, but it does not grab the file. I tried to follow the direction from this thread <https://board.jdownloader.org/showthread.php?t=74451>. Maybe I am not understanding or doing something wrong.

Here is an example link:
**External links are only visible to Support Staff****External links are only visible to Support Staff**

Any help would be appreciated.
Reply With Quote
  #2  
Old 05.04.2019, 10:28
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 526
Default

Quote:
Originally Posted by Jiaz View Post
You can either let JDownloader *auto-learn* those extensions by PASTING a single direct download url into JDownloader or creating a linkcrawler rule manually.
Settings > Advanced Settings > LinkCrawler.linkcrawlerrules

Rule:
Code:
[{
  "enabled" : true,
  "pattern" : "(?i)https?://.+\\.xpt$",
  "rule" : "DIRECTHTTP"
}]
Reply With Quote
  #3  
Old 05.04.2019, 13:33
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 16,079
Default

think jiaz over uses the term 'auto learn', in my opinion it's the incorrect term. It's manual learn as it requires user interaction to physically create said rule and add it, semi auto would imply some dialog to ask you if you would like to add said extension/rule on your behalf.

o_O

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

Don't fight the system, use it to your advantage. :]
Reply With Quote
  #4  
Old 05.04.2019, 15:04
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 526
Default

If the user PASTES the single direct link, JD does create the linkcrawler rule automatically, without any user interaction. Optionally, the linkcrawler rule can be created manually and added in advanced settings.
Reply With Quote
  #5  
Old 05.04.2019, 19:55
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 62,675
Default

@raztoki: Auto-Learn -> paste a single not supported URL into JDownloader and it will auto check if the url leads to direct downloadable content and then auto create linkcrawler rules, like mgpai explained.
But it seems auto-learn fails for this will check as soon as I find time
__________________
JD-Dev & Server-Admin
Reply With Quote
  #6  
Old 05.04.2019, 19:58
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 526
Default

Quote:
Originally Posted by Jiaz View Post
But it seems auto-learn fails for this
It works fine Jiaz.

Code:
[{
  "enabled" : true,
  "cookies" : null,
  "updateCookies" : true,
  "logging" : false,
  "maxDecryptDepth" : 0,
  "id" : 1554468511187,
  "name" : "Learned file extension: xpt",
  "pattern" : "(?i)https?://.*\\.xpt($|\\?.*$)",
  "rule" : "DIRECTHTTP",
  "packageNamePattern" : null,
  "passwordPattern" : null,
  "formPattern" : null,
  "deepPattern" : null,
  "rewriteReplaceWith" : null
}]
Reply With Quote
  #7  
Old 05.04.2019, 20:05
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 62,675
Default

Doesn't work for me, so I need to find out why
Update: already found why it fails for me, will have to work on this on monday
__________________
JD-Dev & Server-Admin
Reply With Quote
  #8  
Old 05.04.2019, 21:26
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 16,079
Default

@Jiaz okie, maybe one of my many edits has also changed behaviour also o_O
either that or i don't deep analyse ?
__________________
raztoki @ jDownloader reporter/developer
http://svn.jdownloader.org/users/170

Don't fight the system, use it to your advantage. :]

Last edited by raztoki; 05.04.2019 at 21:50.
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 04:45.
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.