Fix login (timer, the return)
This commit is contained in:
parent
2676966a71
commit
ef355e8d91
2 changed files with 3 additions and 1 deletions
|
|
@ -34,6 +34,7 @@ class Freemobile(BaseBrowser):
|
|||
'.*page=suiviconso': DetailsPage,
|
||||
'.*page=consotel_current_month': HistoryPage
|
||||
}
|
||||
#DEBUG_HTTP = True
|
||||
|
||||
def home(self):
|
||||
self.location('https://mobile.free.fr/moncompte/index.php')
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@
|
|||
# along with weboob. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
import time
|
||||
import Image
|
||||
|
||||
from weboob.tools.browser import BasePage
|
||||
|
|
@ -101,7 +102,7 @@ class FreeKeyboard(object):
|
|||
|
||||
def get_small(self, string):
|
||||
for c in string:
|
||||
#time.sleep(0.4)
|
||||
time.sleep(0.5)
|
||||
url = 'https://mobile.free.fr/moncompte/chiffre.php?pos=' + c + '&small=1'
|
||||
self.basepage.browser.openurl(url)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue