<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">hat sich überschnitten<div class="">Danke!</div><div class=""><br class=""></div><div class="">(das Tool für Digitalstrom muss ich erst wiederfinden</div><div class="">und verstehen)</div><div class=""><br class=""></div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">Am 16.02.2016 um 13:12 schrieb Andreas Goetz <<a href="mailto:cpuidle@gmail.com" class="">cpuidle@gmail.com</a>>:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class=""><div class=""><div class="">Bzgl. Wunderground sollte das furchtbar einfach sein:<br class=""><br class=""></div>1) api key besorgen<br class="">2) am Beispiel Standort Waal: python misc\tools\jsonclient --url <a href="http://api.wunderground.com/api/" class="">http://api.wunderground.com/api/</a><apikey>/conditions/q/zmw:00000.26.10857.json -e current_observation,temp_c<br class=""></div><div class="">3) Standorte finden man über das "Autocomplete Api"<br class=""><br class=""></div>Viele Grüße,<br class=""></div>Andreas<br class=""><br class=""><div class=""><div class=""><div class=""><br class=""></div></div></div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">2016-02-16 12:39 GMT+01:00 Andreas Goetz <span dir="ltr" class=""><<a href="mailto:cpuidle@gmail.com" target="_blank" class="">cpuidle@gmail.com</a>></span>:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class=""><div class="">Hi Patrick,<br class=""><br class=""></div><div class="">ich liebe es ganz besonders wenn die Anforderungen kleckerweise kommen (Stichwort Glaskugel). Es war "eine Webseite" es ist jetzt: "Wunderground"?<br class=""></div><br class=""><div class="gmail_extra"><br class=""><div class="gmail_quote"><span class="">2016-02-16 12:23 GMT+01:00 sollner11 <span dir="ltr" class=""><<a href="mailto:pp@macpat.de" target="_blank" class="">pp@macpat.de</a>></span>:<br class=""><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="word-wrap:break-word" class="">mir ist das echt zu hoch, ich scheiter an vielen Fronten<div class=""><br class=""></div><div class="">ich komme zwar mit:</div><div class=""><br class=""></div><div class=""><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo" class="">hxnormalize <a href="http://api.wunderground.com/weatherstation/WXCurrentObXML.asp?ID=IWAAL14" target="_blank" class="">http://api.wunderground.com/weatherstation/WXCurrentObXML.asp?ID=IWAAL14</a></div></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo" class=""><br class=""></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo" class="">an die Daten einer Station ran, in der er sozusagen den Quelltext im Terminal listet</div></div></blockquote></span><div class=""><br class="">1. liefert das API XML- wenns schon strukturiert ist brauchst Du darin nicht mit einem HTML Parser rumzuforken.<br class=""></div><div class="">2. hat Wunderground _auch_ ein JSON API dass sich ganz einfach per jsonclient auslesen lässt, siehe anderen Thread<br class=""></div><span class=""><div class=""> <br class=""></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="word-wrap:break-word" class=""><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-size:11px" class="">aber ich finde keinen Bezug zum selektieren der Daten nach:</span></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo" class=""><br class=""></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo" class=""><a href="http://superuser.com/questions/528709/command-line-css-selector-tool/529024#529024" target="_blank" class="">http://superuser.com/questions/528709/command-line-css-selector-tool/529024#529024</a></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo" class=""><br class=""></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo" class=""><pre style="margin-top:0px;padding:5px;border:0px none;font-size:13px;overflow:auto;width:auto;max-height:600px;font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace,sans-serif;color:rgb(57,51,24);word-wrap:normal;background-color:rgb(238,238,238)" class=""><code style="margin:0px;padding:0px;border:0px none;font-size:13px;font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace,sans-serif;white-space:inherit" class=""><span style="margin: 0px; padding: 0px; border: 0px none; font-size: 13px;" class="">cssgrep page.html "body > div.content > table > tbody > tr > td.data"</span></code></pre><div class="">müsste dann wie aussehen, um an den Wert </div><div class=""><span style="font-size:11px" class=""><temp_c>1.4</temp_c></span></div><div class=""><span style="font-size:11px" class="">zu kommen?</span></div></div></div></blockquote><div class=""><br class=""></div></span><div class="">Das kannst Du Dir damit dann alles sparen.<br class=""><br class=""></div><div class="">Also fangen wir von vorne an: was willst Du konkret parsen, wie sehen die Daten aus und an welcher Stelle scheiterst Du?<br class=""><br class=""></div><div class="">Viele Grüße,<br class=""></div><div class="">Andreas<br class=""><br class=""></div><span class=""><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="word-wrap:break-word" class=""><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo" class=""><div class=""><span style="font-size:11px" class=""><br class=""></span></div><div class=""><span style="font-size:11px" class=""><br class=""></span></div><div class=""><span style="font-size:11px" class=""><br class=""></span></div></div><div class=""><div class=""><div class=""><blockquote type="cite" class=""><div class="">Am 16.02.2016 um 11:56 schrieb Marius Tarlowski <<a href="mailto:marius@tarlowski.de" target="_blank" class="">marius@tarlowski.de</a>>:</div><br class=""><div class=""><div dir="ltr" class="">du könntest das auch im WIKI beschreiben wenn es wieder geht!</div><div class="gmail_extra"><br class=""><div class="gmail_quote">Am 16. Februar 2016 um 10:50 schrieb sollner11 <span dir="ltr" class=""><<a href="mailto:pp@macpat.de" target="_blank" class="">pp@macpat.de</a>></span>:<br class=""><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="word-wrap:break-word" class="">ok, erster Schritt:<div class=""><pre style="overflow:auto;font-family:monospace,monospace;font-size:12px;margin-top:0px;margin-bottom:0px;padding:0px;color:rgb(51,51,51);line-height:18px;background-color:rgb(238,238,238)" class=""><span style="color:rgb(194,12,185);font-weight:bold" class="">sudo</span> <span style="color:rgb(194,12,185);font-weight:bold" class="">apt-get install</span> html-xml-utils</pre><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Udo, was neues für das image ;-)</div><div class=""><div class=""><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><blockquote type="cite" class=""><div class="">Am 15.02.2016 um 17:48 schrieb Andreas Goetz <<a href="mailto:cpuidle@gmail.com" target="_blank" class="">cpuidle@gmail.com</a>>:</div><br class=""><div class=""><div dir="ltr" class=""><div class=""><div class="">Hier <a href="http://stackoverflow.com/questions/7334942/is-there-something-like-a-css-selector-or-xpath-grep" target="_blank" class="">http://stackoverflow.com/questions/7334942/is-there-something-like-a-css-selector-or-xpath-grep</a> gibts eine superschicke Lösung mittels CSS Selektoren- im Prinzip ein jsonclient für html. Das Ergebnis dann einfach an vzclient verfüttern...<br class=""><br class=""></div>Viele Grüße,<br class=""></div>Andreas<br class=""><br class=""></div><div class="gmail_extra"><br class=""><div class="gmail_quote">2016-02-15 17:02 GMT+01:00 Christian Schnellrieder <span dir="ltr" class=""><<a href="mailto:schnellrieder.cs@gmail.com" target="_blank" class="">schnellrieder.cs@gmail.com</a>></span>:<br class=""><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr" class="">Hallo.<div class=""><br class=""></div><div class="">Einfaches bash script?</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Grüße</div></div><div class=""><div class=""><br class=""><div class="gmail_quote"><div dir="ltr" class="">sollner11 <<a href="mailto:pp@macpat.de" target="_blank" class="">pp@macpat.de</a>> schrieb am Mo., 15. Feb. 2016 um 16:50 Uhr:<br class=""></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hallo,<br class="">
<br class="">
ist es möglich, Daten einer Internetseite zu loggen?<br class="">
Als Referenz zu meinem Außentemperatursensor würde ich gerne irgendeine benachbarte Wetterstation mitloggen.<br class="">
Raster 15min z.B.<br class="">
<br class="">
Ist das machbar bzw. wurde das schonmal beschrieben?<br class="">
<br class="">
Danke und Gruss</blockquote></div>
</div></div></blockquote></div><br class=""></div>
</div></blockquote></div><br class=""></div></div></div></div></blockquote></div><br class=""></div>
</div></blockquote></div><br class=""></div></div></div></blockquote></span></div><br class=""></div></div>
</blockquote></div><br class=""></div>
</div></blockquote></div><br class=""></div></body></html>