JDownloader Community - Appwork GmbH
 

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 14.07.2017, 19:58
Paclanc
Guest
 
Posts: n/a
Default Help with Arcadyan modem: Simple httoken parse options

I am almost ready to a perfect script for this modem, but just one thing is missing: the httoken. When the script sends the url for the DSL reboot, it needs to send a httoken, but as you may know, that is generated on each session.

I know where the token is (in the html code of a setting page), but I don't know how to parse it. I don't know how jdownloader parses text.

I found this on other thread:

Quote:
[[[STEP]]]
[[[REQUEST]]]
GET /main_status-and-support.stm#sub=restart HTTP/1.1
Host: %%%routerip%%%
[[[/REQUEST]]]
[[[PARSE]]]
httoken:httoken\s*\=\s*(\d+)
[[[/PARSE]]]
[[[/STEP]]]
I guess this little code can parse the httoken from the html code of the page where the httoken is, but I don't know how to parse the token from my modem.

How can I modify this to work with my httoken?
HTML Code:
httoken:httoken\s*\=\s*(\d+)
This is how the token is shown in the HTML code:

HTML Code:
var _httoken = 55185616;
Can someone help me to extract that number from that simple text using the above code?
Reply With Quote
  #2  
Old 16.07.2017, 04:43
abcd1232
Guest
 
Posts: n/a
Default

Delete

Last edited by abcd1232; 17.07.2017 at 18:05.
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 21:47.
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.