JDownloader Community - Appwork GmbH
 

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 18.01.2019, 11:35
Skeeve Skeeve is offline
JD Adviser
 
Join Date: Feb 2010
Posts: 106
Default Package wird nicht übernommen

Hi!

Ich sende per greasemonkey script meine URLs an jDownloader.

Dazu packe ich noch eine package Information.

jDownloader bekommt meine Links, das Package ignoriert er aber.

Meine Vermutung ist, daß der packagizer dazwischen funkt und meine Links in "Various Files" einsortiert.

Wie kann ich das behebn.

Hier ist der Teil, der jDownloader die Informationen schickt:

Code:
  var JDOWNLOADER="**External links are only visible to Support Staff**;
  var data= {
    "passwords" : "",
    "source": "",
    "package": package,
    "urls": link,
    "submit": "submit"
  };
  console.debug(JDOWNLOADER, data);
  GM.xmlHttpRequest({
  	method: "POST",
  	url: JDOWNLOADER,
  	data: "password=&source=&package=&submit=submit&urls=" +  encodeURIComponent(link),
  	headers: {
 	  	"Content-Type": "application/x-www-form-urlencoded"
  	}
    }
  });
Anhand der Consolenausgabe kann ich im Browser sehen, daß die Packageinformation mitgegeben wurde. Ich weiß nicht, ob's wichtig ist, aber der Packagename enthält auch Leerzeichen.
Reply With Quote
  #2  
Old 18.01.2019, 14:32
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 70,922
Default

Vermutlich muss noch etwas dazu, was angibt, die Paketverwalter Regeln zu überschreiben.
Da kann Jiaz ggf. helfen oder mpgai unser Event Scripter Experte:
https://board.jdownloader.org/showth...=70525&page=28

-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 18.01.2019, 14:49
Skeeve Skeeve is offline
JD Adviser
 
Join Date: Feb 2010
Posts: 106
Default

M.a.W. Ich sollte noch mal auf Englisch fragen?
Reply With Quote
  #4  
Old 18.01.2019, 14:52
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 70,922
Default

Ja frag' mal im verlinkten Thread nach.

Grüße, 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 18.01.2019, 15:30
Skeeve Skeeve is offline
JD Adviser
 
Join Date: Feb 2010
Posts: 106
Default

Der Fehler lag in meinem Code.

Hier der reparierte Code

https://board.jdownloader.org/showpo...&postcount=550
Reply With Quote
  #6  
Old 18.01.2019, 15:56
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 70,922
Default

Danke fürs Feedback

Grüße, 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 22:40.
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.