Thread: [Reconnect working] Reconnexion impossible avec B-Box 2
View Single Post
  #33  
Old 19.12.2011, 14:16
Freeloader
Guest
 
Posts: n/a
Default

@Remi we don't need two separate parsers one should be enough, We finish the /request, then we start parse then we get all of the values within the page > each line is a value, then we close the /parse and finish /step.

You got the examples on the first page; (parsing cache wasnt necessary but I parsed it anyway, so now its perfect)

Extra notes for you;

This wasn't a easy one, I had to use JDownloader's logger to find where the error was.

JDownloader log file ( error told me that GET /js/script.js HTTP/1.1 did not exist so I removed it and added the parser right after the router page popped up)

Code:
16 19/12/11 12:42:22 - FINER [java_downloader] -> Variables: {basicauth=Og==, routerip=192.168.1.1, user=, pass=}
16 19/12/11 12:42:22 - FINER [java_downloader] -> Headerproperties: {}
16 19/12/11 12:42:22 - FINER [java_downloader] -> Replace variable: 192.168.1.1(routerip)
16 19/12/11 12:42:22 - FINER [java_downloader] -> Replace variable: 192.168.1.1(routerip)
16 19/12/11 12:42:22 - FINEST [java_downloader] -> 
-->**External links are only visible to Support Staff****External links are only visible to Support Staff**
----------------Request------------------
GET /js/script.js HTTP/1.1
Accept-Language: de, en-gb;q=0.9, en;q=0.8
Host: 192.168.1.1
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Referer: **External links are only visible to Support Staff****External links are only visible to Support Staff**
Accept-Encoding: gzip
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.10) Gecko/2009042523 Ubuntu/9.04 (jaunty) Firefox/3.0.10
Connection: keep-alive
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Pragma: no-cache
Cache-Control: no-cache

----------------Response------------------
HTTP/1.1 404 Not Found 
Date: Wed, 01 Jan 2003 02:44:15 GMT
Expires: Wed, 01 Jan 2003 03:14:15 GMT
Content-Type: text/html
Accept-Ranges: bytes
Connection: close
Cache-Control: no-cache
Pragma: no-cache