JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 05.08.2021, 19:31
denylx denylx is offline
Wind Gust
 
Join Date: Aug 2019
Posts: 43
Default Login to a board via cookies not working

I'm trying to log in to this board - **External links are only visible to Support Staff****External links are only visible to Support Staff**
and download some images from this **External links are only visible to Support Staff****External links are only visible to Support Staff**

I tried this linkcrawler rule-

Code:
[
  {
    "enabled": true,
    "cookies": [
      [
        "ext_name",
        "value"
      ]
    ],
    "updateCookies": true,
    "logging": false,
    "maxDecryptDepth": 1,
    "name": "rule copp.com",
    "pattern": "**External links are only visible to Support Staff**,
    "rule": "DIRECTHTTP"
  }
]
I think I'm using the wrong cookie login value for this board or something since this rule does not seem to be working. Pls help.
Reply With Quote
  #2  
Old 06.08.2021, 11:06
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 72,746
Default

your pattern is missing the www
try
Quote:
https?://(\\w+\\.)?.....
also the pattern must fully match, so .* at the end

pastebin.com/sZjXeeeA
__________________
JD-Dev & Server-Admin

Last edited by Jiaz; 06.08.2021 at 11:11.
Reply With Quote
  #3  
Old 06.08.2021, 11:31
denylx denylx is offline
Wind Gust
 
Join Date: Aug 2019
Posts: 43
Default

Quote:
Originally Posted by Jiaz View Post
your pattern is missing the www
try

also the pattern must fully match, so .* at the end

pastebin.com/sZjXeeeA
Thanks Jiaz this worked. Also another question...how did I use multiple sites within linkcrawler rules similar to this one?

I tried to pasting another rule within linkcrawler box but it did not seem to accept it.
Reply With Quote
  #4  
Old 06.08.2021, 11:43
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 72,746
Default

@denylx: Syntax ist JSON
Quote:
[
{rule1}
,
{rule2}
,
{rule3}
]
You can verify JSON , eg via jsonformatter.org/json-pretty-print
__________________
JD-Dev & Server-Admin
Reply With Quote
  #5  
Old 06.08.2021, 11:58
denylx denylx is offline
Wind Gust
 
Join Date: Aug 2019
Posts: 43
Default

Quote:
Originally Posted by Jiaz View Post
@denylx: Syntax ist JSON

You can verify JSON , eg via jsonformatter.org/json-pretty-print
Thank you
Reply With Quote
  #6  
Old 06.08.2021, 12:54
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 72,746
Default

You're welcome
__________________
JD-Dev & Server-Admin
Reply With Quote
  #7  
Old 06.08.2021, 13:09
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 59,285
Default

Quote:
Originally Posted by denylx View Post
Also another question...how did I use multiple sites within linkcrawler rules similar to this one?
I've updated our LinkCrawler Rules overview article to contain two rules in one json structure by default.

-psp-
__________________
JD Supporter, Plugin Dev. & Community Manager
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?
That's true James
Quote:
Originally Posted by James
Die Leute verstehen einfach nicht dass nur weil man mit einer Waffe auch auf Menschen schießen kann dass ein Schützenver​ein kein Ort für Amoklaufide​en ist

Last edited by pspzockerscene; 06.08.2021 at 13:24.
Reply With Quote
  #8  
Old 06.08.2021, 13:12
denylx denylx is offline
Wind Gust
 
Join Date: Aug 2019
Posts: 43
Default

Quote:
Originally Posted by pspzockerscene View Post
I've updated our **External links are only visible to Support Staff**... to contain trwo rules in one json structure by default.

-psp-
Much appreciated
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 - 2021, Jelsoft Enterprises Ltd.