Fix content of daily titles
Site changed
This commit is contained in:
parent
8e4454e14f
commit
22d43408f1
2 changed files with 15 additions and 5 deletions
|
|
@ -18,16 +18,18 @@
|
|||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with weboob. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
from .pages.article import PresseuropPage, CartoonPage
|
||||
from .pages.article import PresseuropPage, CartoonPage, DailyTitlesPage
|
||||
from weboob.tools.browser import BaseBrowser
|
||||
from weboob.tools.ordereddict import OrderedDict
|
||||
|
||||
|
||||
class NewspaperPresseuropBrowser(BaseBrowser):
|
||||
"NewspaperPresseuropBrowser class"
|
||||
PAGES = {
|
||||
"http://www.presseurop.eu/.*/cartoon/.*": CartoonPage,
|
||||
"http://www.presseurop.eu/.*": PresseuropPage,
|
||||
}
|
||||
PAGES = OrderedDict((
|
||||
("http://www.presseurop.eu/.*/todays-front-pages/.*", DailyTitlesPage),
|
||||
("http://www.presseurop.eu/.*/cartoon/.*", CartoonPage),
|
||||
("http://www.presseurop.eu/.*", PresseuropPage),
|
||||
))
|
||||
|
||||
def is_logged(self):
|
||||
return False
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue