oups, remove of specific code not aimed to be push'd
This commit is contained in:
parent
0e38bab406
commit
a9d4cfdc66
1 changed files with 0 additions and 8 deletions
|
|
@ -18,8 +18,6 @@
|
||||||
# along with weboob. If not, see <http://www.gnu.org/licenses/>.
|
# along with weboob. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
|
||||||
import datetime
|
|
||||||
from dateutil.parser import parse as parse_date
|
|
||||||
import re
|
import re
|
||||||
|
|
||||||
from weboob.tools.browser2 import DomainBrowser, HTMLPage, Profile
|
from weboob.tools.browser2 import DomainBrowser, HTMLPage, Profile
|
||||||
|
|
@ -118,12 +116,6 @@ class TinderBrowser(DomainBrowser):
|
||||||
return
|
return
|
||||||
|
|
||||||
profile = self.recs.pop()
|
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'])
|
resp = self.request('/like/%s' % profile['_id'])
|
||||||
|
|
||||||
if resp['match']:
|
if resp['match']:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue