JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 01.08.2023, 22:41
acdropbox acdropbox is offline
Modem User
 
Join Date: Aug 2023
Posts: 3
Default AvaxHome additional categories, additional mirror

Hi,
AvaxHome has had a reorganized site structure for some time now. Audiobooks, for example, were a subsection of ebooks before but have their own category now. This is also reflected in the URL structure, which leads to the clipboard-grabber/decrypter not working for items from these categories.

AvxHmeWCrawler.java line 82 the regex should be changed to

"/(ebooks|music|software|video|magazines|newspapers|games|graphics|misc|hraphile|comics|go|audiobooks| girls|tvseries|anime|sheet_music)/.+"


to add the new categories
audiobooks, girls, tvseries, anime and sheet_music

I also know of one mirror which is not listed in the array of PluginDomains:
"avxhm.in". This should be added in line 62 (same file):

ret.add(new String[] { "avh.world", "avaxhome.ws", "avaxhome.bz", "avaxhome.cc", "avaxhome.in", "avaxhome.pro", "avaxho.me", "avaxhm.com", "avxhm.is", "avxhm.se", "avxhome.se", "avxhome.in", "avxde.org", "xsava.xyz", "zavat.pw", "avxlive.icu", "avxhm.in" });

There is - as of now - one domain in this list which is a special kind of mirror: avxde.org, which seems to be a special variant only showing the subset of content that is in German. It has exactly the same structure as the "normal" AvaxHome mirrors - with the exception of different category names (German translations), which is also reflected in the URLs.
I'm not sure if just adding these German category names to the array is the right way to go (even though this works for grabbing/decrypting, tested in my own build) or if an additional plugin would be 'cleaner'.
If we just want to enable everything for this 'special' mirror then in AvxHmeWCrawler.java line 82 the regex should be changed to

"/(ebooks|music|software|video|magazines|newspapers|games|graphics|misc|hraphile|comics|go|audiobooks| girls|tvseries|anime|sheet_music|musik|fernsehserie|zeitschriften|zeitungen|grafik|madchen|horbucher )/.+"


I will also raise this second issue in the German language section.

Thank you!!
Reply With Quote
  #2  
Old 01.08.2023, 22:55
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 73,827
Default

Thanks for this detailed report.
I've implemented all of your suggested changes and an update containing them should go live any minute.

Quote:
Originally Posted by acdropbox View Post
I'm not sure if just adding these German category names to the array is the right way to go (even though this works for grabbing/decrypting, tested in my own build) or if an additional plugin would be 'cleaner'.
Adding them here is fine I mean who knows when avx will maybe extend those german categories into other domains.
Also all the rest of this plugins' handling is "compatible" with that german website-version so I don't see the need for a 2nd plugin.

Quote:
Originally Posted by acdropbox View Post
I will also raise this second issue in the German language section.
No need to do so.
All of us speak English but the JD core team consists of germans.

By the way if you want to contribute mode code changes, consider requesting write-access to our SVN via support@jdownloader.org.
__________________
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 01.08.2023, 23:00
acdropbox acdropbox is offline
Modem User
 
Join Date: Aug 2023
Posts: 3
Default

Whoa, that was fast! ;-)
Thank you very much!
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 20:14.
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 - 2025, Jelsoft Enterprises Ltd.