oups, remove of specific code not aimed to be push'd

This commit is contained in:
Roger Philibert 2014-05-10 17:21:52 +02:00 committed by Romain Bignon
commit a9d4cfdc66

View file

@ -18,8 +18,6 @@
# along with weboob. If not, see <http://www.gnu.org/licenses/>.
import datetime
from dateutil.parser import parse as parse_date
import re
from weboob.tools.browser2 import DomainBrowser, HTMLPage, Profile
@ -118,12 +116,6 @@ class TinderBrowser(DomainBrowser):
return
profile = self.recs.pop()
birthday = parse_date(profile['birth_date'])
if birthday.date() > datetime.date(1994, 1, 1):
print self.request('/pass/%s' % profile['_id'])
return
resp = self.request('/like/%s' % profile['_id'])
if resp['match']: