JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 09.05.2022, 00:03
academyoffetishes academyoffetishes is offline
Linkgrabbing Monster
 
Join Date: Feb 2018
Posts: 86
Default Is it possible to create a LinkCrawler Rule for www.webcamrips.com?

The tutorial on link crawler rules is here: https://support.jdownloader.org/Know...kcrawler-rules

Here's an example video from it: **External links are only visible to Support Staff****External links are only visible to Support Staff**

If you use the website, you can see you have to click on the "play button" and wait a few seconds until it's enabled, then you have to click it again. Only then will it reveal the url of the file in this css selector: video[src] The URL looks something like this: //s-delivery45.mxdcontent.net/v/9e9504f16d5d738a6d957e9d6dd6a5a5.mp4?s=0savyYaQdnH--qXASAfkBQ&e=1652068096&_t=1652055721

You can view this in your browser (it'll remove the //). Then if you copy that URL, JDownloader can figure out how to download the video.

My question is, can a link crawler rule be created to do all of this just by copying the example video URL? This was my attempt at creating a rule:

Code:
  {
    "enabled": true,
    "logging": false,
    "maxDecryptDepth": 1,
    "name": "**External links are only visible to Support Staff**,
    "pattern": "**External links are only visible to Support Staff**,
    "rule": "DEEPDECRYPT",
    "packageNamePattern": null,
    "passwordPattern": null,
    "deepPattern": "//(.*mxdcontent.net.*\\.mp4.*)"
  }
When I copy the URL, I see it trying to crawl, but it doesn't find anything. Here is a log:

08.05.22 14.40.09 <--> 08.05.22 15.04.09 jdlog://5929925302851/
Reply With Quote
  #2  
Old 09.05.2022, 14:05
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 71,086
Default

Sure this is possible.
In this case the website hosts the video on "mixdrop.co" which they hide by using a simple base64 encryption.
You can find that here in their source code:
Code:
webcamrips.com/embed/?aH...<encryptedURLIsHere>
Our upper code will decrypt such strings automatically so the following rule will do the job just fine:
Code:
[
  {
    "enabled": true,
    "logging": false,
    "maxDecryptDepth": 1,
    "name": "webcamrips.com example rule",
    "pattern": "https?://(?:www\\.)?webcamrips\\.com/videos/[a-z0-9\\-]+/",
    "rule": "DEEPDECRYPT",
    "packageNamePattern": null,
    "passwordPattern": null,
    "deepPattern": "src=(https?://[^/]+/embed/\\?.*?) scrolling=no"
  }
]
Rule as plaintext for easier copy & paste:
anotepad.com/notes/bg2aegaq

-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?

Last edited by Jiaz; 09.05.2022 at 15:22.
Reply With Quote
  #3  
Old 09.05.2022, 16:44
academyoffetishes academyoffetishes is offline
Linkgrabbing Monster
 
Join Date: Feb 2018
Posts: 86
Default

Okay thanks a lot!
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 14:00.
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 - 2024, Jelsoft Enterprises Ltd.