pax_global_header 0000666 0000000 0000000 00000000064 13400741301 0014503 g ustar 00root root 0000000 0000000 52 comment=309ae667efa3c8f7192ef6b744c295fbb8a2d101
woob-309ae667efa3c8f7192ef6b744c295fbb8a2d101-modules-sachsen/ 0000775 0000000 0000000 00000000000 13400741301 0022632 5 ustar 00root root 0000000 0000000 woob-309ae667efa3c8f7192ef6b744c295fbb8a2d101-modules-sachsen/modules/ 0000775 0000000 0000000 00000000000 13400741301 0024302 5 ustar 00root root 0000000 0000000 woob-309ae667efa3c8f7192ef6b744c295fbb8a2d101-modules-sachsen/modules/sachsen/ 0000775 0000000 0000000 00000000000 13400741301 0025726 5 ustar 00root root 0000000 0000000 woob-309ae667efa3c8f7192ef6b744c295fbb8a2d101-modules-sachsen/modules/sachsen/__init__.py 0000664 0000000 0000000 00000001452 13400741301 0030041 0 ustar 00root root 0000000 0000000 # -*- coding: utf-8 -*-
# Copyright(C) 2010-2014 Florent Fourcot
#
# This file is part of weboob.
#
# weboob is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# weboob is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with weboob. If not, see .
from .module import SachsenLevelModule
__all__ = ['SachsenLevelModule']
woob-309ae667efa3c8f7192ef6b744c295fbb8a2d101-modules-sachsen/modules/sachsen/browser.py 0000664 0000000 0000000 00000002542 13400741301 0027766 0 ustar 00root root 0000000 0000000 # -*- coding: utf-8 -*-
# Copyright(C) 2010-2014 Florent Fourcot
#
# This file is part of weboob.
#
# weboob is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# weboob is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with weboob. If not, see .
from weboob.browser import PagesBrowser, URL
from .pages import ListPage, HistoryPage
__all__ = ['SachsenBrowser']
class SachsenBrowser(PagesBrowser):
BASEURL = 'http://www.umwelt.sachsen.de'
homepage = URL('/umwelt/infosysteme/hwims/portal/web/wasserstand-uebersicht.*', ListPage)
history = URL('/umwelt/infosysteme/hwims/portal/web/wasserstand-pegel-(?P.*)', HistoryPage)
def get_rivers_list(self):
return self.homepage.stay_or_go().get_rivers_list()
def iter_history(self, sensor, **kwargs):
self.history.go(idgauge=sensor.gaugeid)
return self.page.iter_history(sensor=sensor)
woob-309ae667efa3c8f7192ef6b744c295fbb8a2d101-modules-sachsen/modules/sachsen/favicon.png 0000664 0000000 0000000 00000011740 13400741301 0030064 0 ustar 00root root 0000000 0000000 PNG
IHDR @ @ iq bKGD pHYs
B(x tIME
_P mIDATx՛wՕB瞞ܓH ,0L0^{c۬vװik.fN,FK0lP@YiY3ӓz:UW?^
Xd9t^[~+ ]Hh$ @Jqա3ml_ n4t7Ґr+rkG8$@X]V
2-c`Ss7 [
æx
CSƒ@a UBǘr!Hd2=?ke|a $,w/VT'_E9mU
!Um}8 >3 uT)\xK9~夅Q2oYwAc oW=ٖVT*D|
7&0@RowAm>\ zKAyى,:a0T+0m? riί<5H
SQUqz`uTGo(xR'jQ1˅0~C;fx~*PY~( wõ`h;@k9bV(
y*E^M/>虀`]+m"w֟0)}߅[ܽ &UWE`e
tM=T}2Eamw@_?_^A҅{hQ>m0J`"Hf!y+ܙD.tѯ5<}L a~\.P%(d*MJC|!41Ii lWxy|?L 54쌙3ι}~?(=| -rU-z"?(qS)
T:gQJe;ѺX$ќ\I@6B$`ٺ' ǧIU` nqCB>lz>,PsK,K@G[$+e:l=++5WWBDC
Zai̇IU%W)T{_)d,Θȅ~x