Thread: [User feedback required] Access to member area by cookies
View Single Post
  #6  
Old 14.07.2020, 16:25
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 55,228
Default

Hi again,

here is a simple rule that will accept "feeds" URLs and crawl video content.
Of course this can be extended to grab other stuff too:
pastebin.com/DZtAkgX8
Also, I've noticed that it is possible to download the "paid" content even without logging in which means even my test-rule will work fine.

Also, the only cookie really needed to be logged in is the "snapcentro_auth" cookie.
You can grab this from your browser and replace the "CENSORED" in my example rule with the content of said cookie.

Here is the rule again so we won't use it.
Our boardsoftware will censor URLs for users which is why it is so complicated and also why you should use the rule I've linked via pastebin above.

Spoiler:

Code:
[ {
  "enabled" : true,
  "cookies" : [ ["snapcentro_auth", "CENSORED"] ],
  "updateCookies" : true,
  "logging" : false,
  "maxDecryptDepth" : 1,
  "name" : "fancentro.com example rule for single videos with cookies",
  "pattern" : "https?://fancentro\\.com/[^/]+/feed/\\d+",
  "rule" : "DEEPDECRYPT",
  "packageNamePattern" : "<title>(.*?)</title>",
  "passwordPattern" : null,
  "formPattern" : null,
  "deepPattern" : "\"(https?://[^\"]+\\.mp4[^\"]+)",
  "rewriteReplaceWith" : null
} ]


-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?
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
Reply With Quote