#1
|
|||
|
|||
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!! |
#2
|
||||
|
||||
Thanks for this detailed report.
I've implemented all of your suggested changes and an update containing them should go live any minute. Quote:
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:
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 |
#3
|
|||
|
|||
Whoa, that was fast! ;-)
Thank you very much! |
Thread Tools | |
Display Modes | |
|
|