Fix parsing of cartoon pages (Site changed)

Tested on version 0.b and 0.c
This commit is contained in:
Florent 2012-04-25 13:33:45 +02:00 committed by Romain Bignon
commit e181fe4b89
2 changed files with 21 additions and 1 deletions

View file

@ -18,13 +18,14 @@
# 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 ArticlePage
from .pages.article import ArticlePage, CartoonPage
from weboob.tools.browser import BaseBrowser
class NewspaperPresseuropBrowser(BaseBrowser):
"NewspaperPresseuropBrowser class"
PAGES = {
"http://www.presseurop.eu/.*/cartoon/.*": CartoonPage,
"http://www.presseurop.eu/.*": ArticlePage,
}