pax_global_header 0000666 0000000 0000000 00000000064 13514067645 0014525 g ustar 00root root 0000000 0000000 52 comment=6d52c0c92f2617476fe0b131c1eebba68676b2fb
woob-6d52c0c92f2617476fe0b131c1eebba68676b2fb-modules-genericnewspaper/ 0000775 0000000 0000000 00000000000 13514067645 0024554 5 ustar 00root root 0000000 0000000 woob-6d52c0c92f2617476fe0b131c1eebba68676b2fb-modules-genericnewspaper/modules/ 0000775 0000000 0000000 00000000000 13514067645 0026224 5 ustar 00root root 0000000 0000000 woob-6d52c0c92f2617476fe0b131c1eebba68676b2fb-modules-genericnewspaper/modules/genericnewspaper/ 0000775 0000000 0000000 00000000000 13514067645 0031565 5 ustar 00root root 0000000 0000000 __init__.py 0000664 0000000 0000000 00000000121 13514067645 0033611 0 ustar 00root root 0000000 0000000 woob-6d52c0c92f2617476fe0b131c1eebba68676b2fb-modules-genericnewspaper/modules/genericnewspaper from .module import GenericNewspaperModule
__all__ = ['GenericNewspaperModule']
browser.py 0000664 0000000 0000000 00000002467 13514067645 0033554 0 ustar 00root root 0000000 0000000 woob-6d52c0c92f2617476fe0b131c1eebba68676b2fb-modules-genericnewspaper/modules/genericnewspaper "browser for inrocks.fr website"
# -*- coding: utf-8 -*-
# Copyright(C) 2011 Julien Hebert
#
# This file is part of a weboob module.
#
# This weboob module 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.
#
# This weboob module 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 this weboob module. If not, see .
from weboob.browser.url import URL
from .pages import GenericNewsPage
from weboob.browser import PagesBrowser
class GenericPageBrowser(PagesBrowser):
generic_news_page = URL(GenericNewsPage)
weboob = None
def is_logged(self):
return False
def login(self):
pass
def fillobj(self, obj, fields):
pass
def get_content(self, _id):
"return page article content"
self.location(_id)
if self.page is not None:
return self.page.get_article(_id)
favicon.png 0000664 0000000 0000000 00000002226 13514067645 0033643 0 ustar 00root root 0000000 0000000 woob-6d52c0c92f2617476fe0b131c1eebba68676b2fb-modules-genericnewspaper/modules/genericnewspaper PNG
IHDR @ @ iq bKGD pHYs tIME $ S2 iTXtComment Created with GIMPd.e IDATxZ1$E}W1;h'&pفF+Ff]-jbdp^⮠p8sz7LwWo==}vo?`jjUtСC>m}$(hYp[5`UU
}jz