JDownloader Community - Appwork GmbH
 

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 07.12.2020, 11:56
academyoffetishes academyoffetishes is offline
Linkgrabbing Monster
 
Join Date: Feb 2018
Posts: 86
Default Host plugin for javhub.net

Link to the website: **External links are only visible to Support Staff****External links are only visible to Support Staff**

Spoiler:

**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**
**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**
**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**
Reply With Quote
  #2  
Old 07.12.2020, 15:46
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 70,922
Default

Hi,

ticket:


A plugin for this website is unlikely going to happen/get fixed in the near future/ever.
I therefore recommend trying this download method.

-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?
Reply With Quote
  #3  
Old 28.02.2021, 00:28
rocketfeller rocketfeller is offline
Baby Loader
 
Join Date: Feb 2021
Posts: 5
Default

Thanks for the suggestion pspzockerscene, but unfortunately it doesn't work.

What does however work is this method I found online using wget, and I'm wondering if it could be incorporated into JDownloader 2.
Before starting, I'd like to note that this method works for two sites, **External links are only visible to Support Staff****External links are only visible to Support Staff** and **External links are only visible to Support Staff****External links are only visible to Support Staff**, as they seem to be hosting their videos on the same domain (**External links are only visible to Support Staff****External links are only visible to Support Staff**).
The method is as follows:
1. Navigate to video URL, e.g. **External links are only visible to Support Staff****External links are only visible to Support Staff**
2. In the HTML code you can find the URL to the actual video, it'll be on the **External links are only visible to Support Staff****External links are only visible to Support Staff** domain, example based off the video above: **External links are only visible to Support Staff****External links are only visible to Support Staff**
3. Navigating directly to the URL won't work, so you can use the command below using wget to download the video (sometimes you get a 503, but it's a transient issue, just rerun it a few times till it works)
Code:
wget --no-check-certificate --header="Referer:**External links are only visible to Support Staff** "**External links are only visible to Support Staff**
As per the note, the header can be either highporn.net or javhub.net, both are accepted.
I hope this helps!

Last edited by rocketfeller; 28.02.2021 at 00:33. Reason: add https
Reply With Quote
  #4  
Old 01.03.2021, 18:03
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 70,922
Default

I'm unable to find that "anyhentai" URL in the html source so either you got it via another way or the website is working completely differently for you!

Here, it does a POST request to:
Code:
javhub.net/playapi
--> This then contains an encrypted version of the final video URL -> This encryption is the problem.
If you are able to figure out how to decrypt that, we can fix the plugin.

-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?
Reply With Quote
  #5  
Old 05.03.2021, 02:14
rocketfeller rocketfeller is offline
Baby Loader
 
Join Date: Feb 2021
Posts: 5
Default

I see, I meant when viewing the source code via "Inspect Element", I presume there's some Javascript that populates the page. Perhaps that's the formerly encrypted payload that I'm seeing, and since I'm looking through a browser the decryption has already happened. Here's an image:


If the above doesn't help (i'm not sure if JDownloader is able to "fake load" a page as part of the crawling) then that sucks, as I haven't been able to work out the encryption. I can just see that the request is sent with a JWT token in the javhubcookie
e.g.
Code:
eyJpdiI6IldkQ0VNOFlDNFwvT1NEWkpcL3pFRGhBQT09IiwidmFsdWUiOiJlaExGbXNMY2lIeWNGbE93aDg5M2N2TkdDdEhNVlwvVWVPdjlVTUk3RGw2NzVhbldJU3A5RUpGQWJHUXRqU0NJUVwvVmtKMzBxRDRNNUhFN0Fxb0lpYmExR3RncUtRZm9JY2RoV2o2UlVLZ242dWFMbVpQNTBtajNUb0cxakV3NjhVIiwibWFjIjoiODZjMDdjYzRlYTUyNGRmYTZhMTEwMDNhODU3ZDc3MGNhZDAzNjVhYWFlYmVjZjZhZGNiZGZhNDg2NTM2MmM5ZCJ9
that decrypted gives
Code:
{
  "iv": "WdCEM8YC4/OSDZJ/zEDhAA==",
  "value": "ehLFmsLciHycFlOwh893cvNGCtHMV/UeOv9UMI7Dl675anWISp9EJFAbGQtjSCIQ/VkJ30qD4M5HE7AqoIiba1GtgqKQfoIcdhWj6RUKgn6uaLmZP50mj3ToG1jEw68U",
  "mac": "86c07cc4ea524dfa6a11003a857d770cad0365aaaebecf6adcbdfa4865362c9d"
}
The response back comes with a different token but in a similar format.
Code:
eyJpdiI6Ik95QXNDbUl2ek9oU0NLVkM3QkhpbGc9PSIsInZhbHVlIjoiVk9xMkVKYXIwNFFLNXZGYW5FcmlIRCtudXBETHV1T3M3TUlmZTVFbFExUnZhRVY0T1ZwOFAybGJVV3VTOW1jY2RYdTR4RXRZaFZ6YjJoaEV0eGMxems4XC83YnhXOU9sTUloM3VxNEF3RjE4Y2xZSkRSZE14MmhuczdlOFVQQUlQIiwibWFjIjoiZGE2OGQ1YTRhYzJkMTQxNWJjYTA3MGRlZTE5MmU5ODBiODFmNDcwYzM0ZjBjYTVkZjhmMjg1YTI5MjBlNDQzYyJ9
that decrypted gives
Code:
{
  "iv": "OyAsCmIvzOhSCKVC7BHilg==",
  "value": "VOq2EJar04QK5vFanEriHD+nupDLuuOs7MIfe5ElQ1RvaEV4OVp8P2lbUWuS9mccdXu4xEtYhVzb2hhEtxc1zk8/7bxW9OlMIh3uq4AwF18clYJDRdMx2hns7e8UPAIP",
  "mac": "da68d5a4ac2d1415bca070dee192e980b81f470c34f0ca5df8f285a2920e443c"
}
Searching the key names brings up references to Laravel PHP framework, I presume iv refers to initialisation vector (which itself looks like it's base64 encoded but that doesn't seem to be the case), so it looks like proper server side encryption not some simple handrolled stuff.
Posting the above in case you have a eureka moment based off of past experiences (long shot, I know).

Last edited by rocketfeller; 05.03.2021 at 05:16.
Reply With Quote
  #6  
Old 05.03.2021, 13:38
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 70,922
Default

Exactly - it is added via JS.
If you find out how to decrypt that, making the plugin work again is very much possible

-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?
Reply With Quote
  #7  
Old 09.03.2021, 16:15
tony2long's Avatar
tony2long tony2long is offline
English Supporter
 
Join Date: Jun 2009
Posts: 6,507
Default

I made a plugin to download those final video links, but maybe better if DirectHTTP plugin can be modified to add needed reference for it.
__________________
FAQ: How to upload a Log
Reply With Quote
  #8  
Old 09.03.2021, 16:21
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 70,922
Default

But it's not working anymore either?!

-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?
Reply With Quote
  #9  
Old 09.03.2021, 17:56
tony2long's Avatar
tony2long tony2long is offline
English Supporter
 
Join Date: Jun 2009
Posts: 6,507
Default

The example above has expired, yes, but with video download helper we can get the fresh final video link, the thing is, DirectHTTP does not give required reference.
__________________
FAQ: How to upload a Log
Reply With Quote
  #10  
Old 09.03.2021, 18:03
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 70,922
Default

Doesn't work here (can't use the URL obtained via browser/VideoDownloadHelper anywhere else).
Their direct-URLs seem to be session (cookie/header) bound.
This will not work without proper decryption inside JD...

-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?
Reply With Quote
  #11  
Old 09.03.2021, 19:02
tony2long's Avatar
tony2long tony2long is offline
English Supporter
 
Join Date: Jun 2009
Posts: 6,507
Default

I'll test again tomorrow and commit so you can try.
__________________
FAQ: How to upload a Log
Reply With Quote
  #12  
Old 10.03.2021, 10:39
tony2long's Avatar
tony2long tony2long is offline
English Supporter
 
Join Date: Jun 2009
Posts: 6,507
Default

Alternative plugin has been added.
Open the page with browser, click "Close And Play" but don't click "play" button because only one session is allowed (503 Service Temporarily Unavailable).
Use video download helper, copy the media link and let the plugin works.
The link will expire after a few hours.
__________________
FAQ: How to upload a Log
Reply With Quote
  #13  
Old 10.03.2021, 11:22
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 70,922
Default

@tony2long
Oh lol indeed that does the trick thanks!
So JD can now at least handle their directURLs

-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?
Reply With Quote
  #14  
Old 25.08.2021, 21:32
UriF UriF is offline
Linkgrabbing Monster
 
Join Date: Oct 2013
Posts: 81
Default

I am able to download ALMOST everything from javhub.net following way:

I use Firefox. Under "Tools" I select "Page Info" and then go to "Media" where I can see video link to anyhentai web site. I took this link and copy it in link grabber of JDownloader. It works almost with all javhub links. Unfortunately it doesn't work with
**External links are only visible to Support Staff****External links are only visible to Support Staff**

The first thing what I see JDownloader return "Unknown size" and red bullet. When I try to send it download I get message "File not exists". The more interesting when I tried use CURL with script like this
curl --insecure --referer "**External links are only visible to Support Staff** "**External links are only visible to Support Staff** --output LPT_010.mp4"

I get a mp4 file 1 Kb size which able to open in Notepad++ where I can see following message:
503 Service Temporarily Unavailable

I am able to play this file DIRECTLY in browser but if I try to refresh page I very frequently get following message:
"Error Loading Media: File could not be played"

In approx. 1/2 to 2 hours I am able to play video again.
Reply With Quote
  #15  
Old 26.08.2021, 16:14
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 70,922
Default

I've found the issue and also updated our plugin:
Their CDN (anyhentai.com) now has very tight connection limits (1 per video) which means if you keep playing the video in browser let alone leave the tab open, you won't be able to download it at the same time.
The new/better method is this one:
1. Get- and add the video-URL via this method.
2. Close the browser-tab you used to start playing the video.
3. Start downloading in JD.

After the next update, JD will also correctly recognize their response 503 which happens when the URL is temporarily unavailable and JD will not display such items as offline anymore.

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
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
Reply With Quote
  #16  
Old 26.08.2021, 22:14
UriF UriF is offline
Linkgrabbing Monster
 
Join Date: Oct 2013
Posts: 81
Default

Yes, this method works BUT closing tab was not enough. Thanks. I had to close a browser... Very strange. I didn't have problems with other videos...

It will work with japanhub.net, highporn.net, and javhub.net because they use the same servers at anyhentai.

Last edited by UriF; 27.08.2021 at 08:02.
Reply With Quote
  #17  
Old 27.08.2021, 12:56
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 70,922
Default

Thanks for your feedback.
This seems to be a very "cheap but effective" attempt of them to try to prevent downloads.

-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?
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 23:57.
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.