#1
|
|||
|
|||
Multi Host Plugin
Multi Host Plugin
**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** Thanks , Best regard Last edited by DarKWinGTM; 25.01.2016 at 09:29. |
#2
|
||||
|
||||
how is this multihoster related?
or did you mean multiple requests for hoster plugins?
__________________
raztoki @ jDownloader reporter/developer http://svn.jdownloader.org/users/170 Don't fight the system, use it to your advantage. :] |
#3
|
||||
|
||||
I guess he means multiple hosts
__________________
JD-Dev & Server-Admin |
#4
|
||||
|
||||
__________________
JD-Dev & Server-Admin |
#5
|
||||
|
||||
__________________
JD-Dev & Server-Admin |
#6
|
||||
|
||||
__________________
JD-Dev & Server-Admin |
#7
|
|||
|
|||
It posible ?
Thanks best regards |
#8
|
|||
|
|||
URL Pattern:
^http:\/\/imzdrop\.com\/\w+\/[\w-]+\.jpe?g\.html$ Search Pattern: Code:
function(pageData, pageUrl) { var retVal = {imgUrl: null, status: "ABORT"}; var PostData = pageData.match(/<form\b([^]+?)<\/form>/i)[1].match(/<input.+?>/g); PostData = PostData.map(input => input.match(/name=('|")(.+?)\1/)[2] + '=' + input.match(/value=('|")(.+?)\1/)[2]).join('&'); var req = new XMLHttpRequest(); req.open("POST", pageUrl, false); req.setRequestHeader("Content-Type", "application/x-www-form-urlencoded; charset=UTF-8"); req.send(PostData); var someData = req.responseText; iUrl = someData.match(/<img.+?class="pic".*?>/).toString(); if (iUrl) { retVal.imgUrl = iUrl.match(/src="([^"]+)"/)[1]; retVal.fileName = iUrl.match(/alt="([^"]+)"/)[1]; retVal.status = "OK"; } return retVal; } |
#9
|
||||
|
||||
All done.
Stop pushing! --- [Please read]=>How/when do I get updates? Read it carefully BEFORE complaining that something would still be not working! Update cycles depend on your installed JD version!! --- [Bitte lesen]=>Wie/wann bekomme ich Updates? Bitte vollständig lesen bevor ihr euch beschwert, dass etwas immernoch nicht funktionieren würde! Die Updatezyklen variieren je nach installierter JD Version!! GreeZ pspzockerscene
__________________
JD Supporter, Plugin Dev. & Community Manager
Erste Schritte & Tutorials || JDownloader 2 Setup Download |
Thread Tools | |
Display Modes | |
|
|