Ich versuche von http://www.einbecker-wetterstation.d...e-aktuell.html die aktuellen Wetterdaten abzufragen. Ich benutze bisher folgenden regulären Ausdruck:
und als Ergebnisblock:
EventBiDir gibt mir folgendes zurück:
Mir ist jetzt nicht klar was ich falsch mache und wie mir die Debugausgabe eigentlich weiterhilft. Welche Regex Variante benutzt der HS eigentlich?
Code:
(.*)>Aktuell</td>(.*)>([0-9]+\.[0-9]+) °C</p><td>
- Beliebige Daten
- Beliebige Daten
- Wert als Klartext
EventBiDir gibt mir folgendes zurück:
Code:
13.05.2008 22:28:16 (IP: www.einbecker-wetterstation.de) (Port: 80) [B](Send: 97) 0x47 0x45 0x54 0x20 0x2f 0x6d 0x65 0x73 0x73 0x77 0x65 0x72 0x74 0x65 0x2d 0x61 0x6b 0x74 0x75 0x65 0x6c 0x6c 0x2e 0x68 0x74 0x6d 0x6c 0x20 0x48 0x54 0x54 0x50 0x2f 0x31 0x2e 0x30 0xd 0xa 0x48 0x6f 0x73 0x74 0x3a 0x20 0x77 0x77 0x77 0x2e 0x65 0x69 0x6e 0x62 0x65 0x63 0x6b 0x65 0x72 0x2d 0x77 0x65 0x74 0x74 0x65 0x72 0x73 0x74 0x61 0x74 0x69 0x6f 0x6e 0x2e 0x64 0x65 0xd 0xa 0x43 0x6f 0x6e 0x6e 0x65 0x63 0x74 0x69 0x6f 0x6e 0x3a 0x20 0x43 0x6c 0x6f 0x73 0x65 0xd 0xa 0xd 0xa[/B] GET /messwerte-aktuell.html HTTP/1.0 Host: www.einbecker-wetterstation.de Connection: Close [B](Recv: 52897) 0x48 0x54 0x54 0x50 0x2f 0x31 0x2e 0x31 0x20 0x32 0x30 0x30 0x20 0x4f 0x4b 0xd 0xa 0x44 0x61 0x74 0x65 0x3a 0x20 0x54 0x75 0x65 0x2c 0x20 0x31 0x33 0x20 0x4d 0x61 0x79 0x20 0x32 0x30 0x30 0x38 0x20 0x32 0x30 0x3a 0x32 0x38 0x3a 0x31 0x38 0x20 0x47 0x4d 0x54 0xd 0xa 0x53 0x65 0x72 0x76 0x65 0x72 0x3a 0x20 0x41 0x70 0x61 0x63 0x68 0x65 0x2f 0x31 0x2e 0x33 0x2e 0x33 0x37 0x20 0x28 0x55 0x6e 0x69 0x78 0x29 0x20 0x50 0x48 0x50 0x2f 0x34 0x2e 0x34 0x2e 0x38 0x20 0x77 0x69 0x74 0x68 0x20 0x53 0x75 0x68 0x6f 0x73 0x69 0x6e 0x2d 0x50 0x61 0x74 0x63 0x68 0x20 0x46 0x72 0x6f 0x6e 0x74 0x50 0x61 0x67 0x65 0x2f 0x35 0x2e 0x30 0x2e 0x32 0x2e 0x34 0x38 0x30 0x33 0x20 0x6d 0x6f 0x64 0x5f 0x66 0x61 0x73 0x74 0x63 0x67 0x69 0x2f 0x6d 0x6f 0x64 0x5f 0x66 0x61 0x73 0x74 0x63 0x67 0x69 0x2d 0x53 0x4e 0x41 0x50 0x2d 0x30 0x34 0x30 0x34 0x31 0x34 0x32 0x32 0x30 0x32 0x20 0x6d 0x6f 0x64 0x5f 0x73 0x73 0x6c 0x2f 0x32 0x2e 0x38 0x2e 0x32 0x38 0x20 0x4f 0x70 0x65 0x6e 0x53 0x53 0x4c 0x2f 0x30 0x2e 0x39 0x2e[/B] HTTP/1.1 200 OK Date: Tue, 13 May 2008 20:28:18 GMT Server: Apache/1.3.37 (Unix) PHP/4.4.8 with Suhosin-Patch FrontPage/5.0.2.4803 mod_fastcgi/mod_fastcgi-SNAP-0404142202 mod_ssl/2.8.28 OpenSSL/0.9. [B](Gesamt: 3) (Work: 0) (Typ: RegExp) (OK: 0)[/B]
Kommentar