From ab84d29634dea20a66a8a2af9c86ad2665fc0b99 Mon Sep 17 00:00:00 2001 From: Romain Bignon Date: Sat, 20 Feb 2010 13:54:16 +0100 Subject: [PATCH] backported "fix parsing search results (since fucking website changes HTML)" from aum --- weboob/backends/aum/pages/profileslist_base.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/weboob/backends/aum/pages/profileslist_base.py b/weboob/backends/aum/pages/profileslist_base.py index fe9fc1f8..5b35279d 100644 --- a/weboob/backends/aum/pages/profileslist_base.py +++ b/weboob/backends/aum/pages/profileslist_base.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- """ -Copyright(C) 2008 Romain Bignon +Copyright(C) 2008-2010 Romain Bignon This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -25,7 +25,7 @@ class ProfilesListBase(PageBase): PROFILE_REGEXP = re.compile(".*window\.location='(.*)'") PHOTO_REGEXP = re.compile(".*background-image:url\(([A-Za-z0-9_\-:/\.]+)\).*") - WITHOUT_PHOTO = 'http://s.adopteunmec.com/img/thumb1.gif' + WITHOUT_PHOTO = 'http://s.adopteunmec.com/img/thumb0.gif' SHOW_WITHOUT_PHOTO = True def loaded(self):