#1
|
|||
|
|||
Plugin for get-to.link
Hi JD Team,
Please add support for host get-to.link, which displays a collection of links. I think it was linx.cloud before but doesn't get redirected, since linx.cloud is dead. Sample links below: **External links are only visible to Support Staff****External links are only visible to Support Staff** **External links are only visible to Support Staff****External links are only visible to Support Staff** **External links are only visible to Support Staff****External links are only visible to Support Staff** **External links are only visible to Support Staff****External links are only visible to Support Staff** **External links are only visible to Support Staff****External links are only visible to Support Staff** **External links are only visible to Support Staff****External links are only visible to Support Staff** **External links are only visible to Support Staff****External links are only visible to Support Staff** **External links are only visible to Support Staff****External links are only visible to Support Staff** **External links are only visible to Support Staff****External links are only visible to Support Staff** As usual, my Sincere Thanks to you guys. Regards, Doc MaKS aKa reddevil |
#2
|
||||
|
||||
Hi,
a plugin for this simple website is not needed. You can simply add a link crawler rule to let JD automatically crawl contents of this website e.g. via clipboard detection: Code:
[ { "enabled" : true, "updateCookies" : true, "logging" : false, "maxDecryptDepth" : 1, "name" : "get-to.link example rule", "pattern" : "https?://get-to\\.link/.+", "rule" : "DEEPDECRYPT", "packageNamePattern" : null, "passwordPattern" : null, "formPattern" : null, "deepPattern" : null, "rewriteReplaceWith" : null } ]
__________________
JD Supporter, Plugin Dev. & Community Manager
Erste Schritte & Tutorials || JDownloader 2 Setup Download |
#3
|
|||
|
|||
Above link crawler rule gets the download links fine from get-to.link but also gets unwanted files.
Example url: **External links are only visible to Support Staff****External links are only visible to Support Staff** **External links are only visible to Support Staff**padsats.com" rel="noopener noreferrer nofollow" target="_blank">**External links are only visible to Support Staff**padsats.com/7f/8a/7f/7f8a7f352b9e9c8c51daf77b6941fa24.js **External links are only visible to Support Staff**ajax.cloudflare.com" rel="noopener noreferrer nofollow" target="_blank">**External links are only visible to Support Staff**ajax.cloudflare.com/cdn-cgi/scripts/7089c43e/cloudflare-static/rocket-loader.min.js **External links are only visible to Support Staff****External links are only visible to Support Staff**.ico **External links are only visible to Support Staff****External links are only visible to Support Staff**.js and a lots of other *.js files from the main host. Any way to avoid these? |
#4
|
||||
|
||||
deep analyse will return everything that jd supports. Not sure why we return js files. putting that aside, you can specify with deepPattern field pattern to look for links.
__________________
raztoki @ jDownloader reporter/developer http://svn.jdownloader.org/users/170 Don't fight the system, use it to your advantage. :] |
#5
|
|||
|
|||
maybe you could try setting some linkgrabber filters ( in the "X" tab).
es for *.js file: -file type = js,ico -url download = It contains = the main host Last edited by BJN01; 22.03.2020 at 00:04. |
#6
|
|||
|
|||
Quote:
Will try linkgrabber filter, thanks. |
#7
|
||||
|
||||
Not FAQ but examples:
https://board.jdownloader.org/showthread.php?t=74150
__________________
FAQ: How to upload a Log |
#8
|
||||
|
||||
the premise for deepPattern, is to only add a select component of the website to add links from so, open the source code of the website, create a regular expression pattern to match.
__________________
raztoki @ jDownloader reporter/developer http://svn.jdownloader.org/users/170 Don't fight the system, use it to your advantage. :] |
#9
|
|||
|
|||
Yea... Got it:
Code:
"deepPattern" : "(<meta property=\"og:description\"[^>]*/>)", I think linkCrawler should be migrated into a plugin Last edited by reddevil; 23.03.2020 at 17:57. Reason: Thanks |
#10
|
|||
|
|||
Need a bit of help:
The above deepPattern in LinkCrawler works fine for URL's listed in a get-to.link page. But sometimes there is a *.torrent file as well and JD refused to grab the link. So i added a New LinkCrawler rule: Code:
{ "enabled" : true, "pattern" : "**External links are only visible to Support Staff**, "rule" : "DIRECTHTTP" } Condition Name: _Torrents File Type: is Custom Type torrent File: is Online - Download is possible. Package Name: _Torrents I even tested directly (with URL **External links are only visible to Support Staff****External links are only visible to Support Staff**) at the bottom of the Rule config dialog (Play button to test filters) and matches column shows red x. The exact same packagizer rule works for apk file type. Please advice. |
#11
|
||||
|
||||
1. Please post an example URL which contains that .torrent URL inside html code.
Your rule will not work like that - please take some time to e.g. learn json structure and regular expressions (e.g. regex101.com, jsoneditoronline.org). 2. Please post a screenshot of your packagizer rule or export your packagizer rule, make a .zip archive out of it and upload it to our forum. -psp-
__________________
JD Supporter, Plugin Dev. & Community Manager
Erste Schritte & Tutorials || JDownloader 2 Setup Download |
#12
|
||||
|
||||
*.* kinda looks like wildcard ;
try https?://[^/]+/.+\.torrent
__________________
raztoki @ jDownloader reporter/developer http://svn.jdownloader.org/users/170 Don't fight the system, use it to your advantage. :] |
#13
|
|||
|
|||
Quote:
Code:
File Type: is Custom Type torrent Try: Code:
File Name : contains : \.torrent$ (Enable Regex) |
#14
|
|||
|
|||
Quote:
Screenshot: After inserting the above into pattern field, JD threw an error. Tried and works. Thank You. Last edited by reddevil; 24.03.2020 at 16:41. |
#15
|
||||
|
||||
So it is all working now or is there anything left to do?
-psp-
__________________
JD Supporter, Plugin Dev. & Community Manager
Erste Schritte & Tutorials || JDownloader 2 Setup Download |
#16
|
|||
|
|||
Quote:
Recap:- Rules in my Linkcrawler are below: Code:
{ "enabled" : true, "updateCookies" : true, "logging" : false, "maxDecryptDepth" : 1, "name" : "get-to.link example rule", "pattern" : "https?://get-to\\.link/.+", "rule" : "DEEPDECRYPT", "packageNamePattern" : null, "passwordPattern" : null, "formPattern" : null, "deepPattern" : "(<meta property="og:description"[^>]*/>)", "rewriteReplaceWith" : null }, { "enabled" : true, "name" : ".torrent file grab", "pattern" : "https?://[^/]+/.+.torrent", "rule" : "DIRECTHTTP", } Condition Name: _Torrents File Name : contains : \.torrent$ (Enable Regex) File: is : Online - Download is possible. Package Name: _Torrents Tested with links: **External links are only visible to Support Staff****External links are only visible to Support Staff** **External links are only visible to Support Staff****External links are only visible to Support Staff** **External links are only visible to Support Staff****External links are only visible to Support Staff** Thanks to you All. Last edited by reddevil; 25.03.2020 at 15:27. |
#17
|
||||
|
||||
Added crawler plugin for get-to.link.
@reddevil None of your recently posted URLs contain any URLs leading to files with extension ".torrent". Your rule should work fine for files ending with ".torrent". 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 |
#18
|
|||
|
|||
Some new links then to test:
**External links are only visible to Support Staff****External links are only visible to Support Staff** **External links are only visible to Support Staff****External links are only visible to Support Staff** **External links are only visible to Support Staff****External links are only visible to Support Staff** **External links are only visible to Support Staff****External links are only visible to Support Staff** **External links are only visible to Support Staff****External links are only visible to Support Staff** |
#19
|
||||
|
||||
Website uses Cloudflare and thus JDownloader fails to load the page
__________________
JD-Dev & Server-Admin |
#20
|
||||
|
||||
__________________
JD Supporter, Plugin Dev. & Community Manager
Erste Schritte & Tutorials || JDownloader 2 Setup Download |
|
|