pax_global_header 0000666 0000000 0000000 00000000064 14042356110 0014506 g ustar 00root root 0000000 0000000 52 comment=18d41565f955028f9fcd2f6cc437f5f1cb717401
woob-18d41565f955028f9fcd2f6cc437f5f1cb717401-modules-genericnewspaper/ 0000775 0000000 0000000 00000000000 14042356110 0024340 5 ustar 00root root 0000000 0000000 woob-18d41565f955028f9fcd2f6cc437f5f1cb717401-modules-genericnewspaper/modules/ 0000775 0000000 0000000 00000000000 14042356110 0026010 5 ustar 00root root 0000000 0000000 woob-18d41565f955028f9fcd2f6cc437f5f1cb717401-modules-genericnewspaper/modules/genericnewspaper/ 0000775 0000000 0000000 00000000000 14042356110 0031351 5 ustar 00root root 0000000 0000000 __init__.py 0000664 0000000 0000000 00000000121 14042356110 0033375 0 ustar 00root root 0000000 0000000 woob-18d41565f955028f9fcd2f6cc437f5f1cb717401-modules-genericnewspaper/modules/genericnewspaper from .module import GenericNewspaperModule
__all__ = ['GenericNewspaperModule']
browser.py 0000664 0000000 0000000 00000002453 14042356110 0033333 0 ustar 00root root 0000000 0000000 woob-18d41565f955028f9fcd2f6cc437f5f1cb717401-modules-genericnewspaper/modules/genericnewspaper "browser for inrocks.fr website"
# -*- coding: utf-8 -*-
# Copyright(C) 2011 Julien Hebert
#
# This file is part of a woob module.
#
# This woob 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 woob 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 woob module. If not, see .
from woob.browser.url import URL
from .pages import GenericNewsPage
from woob.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 14042356110 0033427 0 ustar 00root root 0000000 0000000 woob-18d41565f955028f9fcd2f6cc437f5f1cb717401-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