[bp] Handle new history url case

In some case the url is inside the span tag.

Closes: 37311@sibi
12 jobs from master in 17 minutes and 45 seconds (queued for 1 minute and 12 seconds)
Status Job ID Name Coverage
  Build
passed #16171
build:2.7

00:01:10

passed #16172
build:3

00:01:10

 
  Test
failed #16174
allowed to fail
lint:2.7

00:01:21

failed #16178
allowed to fail
lint:3

00:01:16

passed #16173
pyflakes:2.7

00:01:32

passed #16177
pyflakes:3

00:01:23

passed #16175
unittests:2.7

00:01:20

40.0%
passed #16179
unittests:3

00:01:17

41.0%
failed #16176
allowed to fail
unittests-modules:2.7

00:13:47

47.0%
failed #16180
allowed to fail
unittests-modules:3

00:01:09

 
  Deploy
passed #16181
doc:2.7

00:01:01

passed #16182
doc:3

00:01:09

 
Name Stage Failure
failed
unittests-modules:2.7 Test
Ran 363 tests in 727.276s

FAILED (SKIP=94, errors=102, failures=28)
=== Total coverage ===
MODULES COVERAGE: 47%
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5175 0 0 100 5175 0 25143 --:--:-- --:--:-- --:--:-- 25121 100 5175 0 0 100 5175 0 2561 0:00:02 0:00:02 --:--:-- 2561 100 5175 0 0 100 5175 0 1712 0:00:03 0:00:03 --:--:-- 1713 100 5175 0 0 100 5175 0 1286 0:00:04 0:00:04 --:--:-- 1286OK 100 5177 0 2 100 5175 0 1164 0:00:04 0:00:04 --:--:-- 1164 100 5177 0 2 100 5175 0 1164 0:00:04 0:00:04 --:--:-- 0
ERROR: Job failed: exit code 1
failed
unittests-modules:3 Test
2019-02-27 08:37:42,097:WARNING:repository:1.5:repositories.py:304:build_index Unable to build module ilmatieteenlaitos: [ImportError] cannot import name 'imap' from 'itertools' (unknown location)
2019-02-27 08:37:42,196:WARNING:repository:1.5:repositories.py:304:build_index Unable to build module lacentrale: [NameError] name 'unicode' is not defined
2019-02-27 08:37:42,629:WARNING:repository:1.5:repositories.py:304:build_index Unable to build module tapatalk: [ModuleNotFoundError] No module named 'xmlrpclib'
2019-02-27 08:37:42,691:WARNING:repository:1.5:repositories.py:304:build_index Unable to build module wellsfargo: [ModuleNotFoundError] No module named 'Cookie'
=== [ 0%] Getting file:///builds/weboob/weboob/modules
=== [100%] All modules are up-to-date.
Errors building modules: dailymotion, hds, ilmatieteenlaitos, lacentrale, tapatalk, wellsfargo
Use --debug to get more information.
ERROR: Job failed: exit code 1
failed
lint:3 Test
2019-02-27 08:36:27,449:WARNING:repository:1.5:repositories.py:304:build_index Unable to build module ilmatieteenlaitos: [ImportError] cannot import name 'imap' from 'itertools' (unknown location)
2019-02-27 08:36:27,527:WARNING:repository:1.5:repositories.py:304:build_index Unable to build module lacentrale: [NameError] name 'unicode' is not defined
2019-02-27 08:36:28,090:WARNING:repository:1.5:repositories.py:304:build_index Unable to build module tapatalk: [ModuleNotFoundError] No module named 'xmlrpclib'
2019-02-27 08:36:28,158:WARNING:repository:1.5:repositories.py:304:build_index Unable to build module wellsfargo: [ModuleNotFoundError] No module named 'Cookie'
Errors building modules: dailymotion, hds, ilmatieteenlaitos, lacentrale, tapatalk, wellsfargo
Use --debug to get more information.
=== [ 0%] Getting file:///builds/weboob/weboob/modules
=== [100%] All modules are up-to-date.
ERROR: Job failed: exit code 1
failed
lint:2.7 Test
=== [  0%] Getting file:///builds/weboob/weboob/modules
=== [100%] All modules are up-to-date.

Modules without tests: afer, amundi, banqueaccord, bforbank, bolden, bouygues, bp, caels, chronopost, cmb, cmmc, cmso, colisprive, colissimo, creditdunordpee, edf, ensap, figgo, genericnewspaper, gmf, linebourse, n26, nalo, netfinca, okc, oney, orange, ovh, pagesjaunes, peertube, redmine, relaiscolis, sogecartenet, tapatalk, yomoni

Modules without icons: avendrealouer, bnpcards, bnppere, bolden, btpbanque, capeasi, cices, cmes, deathbycaptcha, ekwateur, ensap, erehsbc, esalia, figgo, gmf, humanis, linebourse, materielnet, meslieuxparis, nalo, netfinca, onlinenet, pagesjaunes, peertube, pradoepargne, sogecartenet, spirica, tapatalk, themisbanque, trainline

Modules for Python 2 only: allocine, amazonstorecard, amelipro, apivie, asana, audioaddict, bnpcards, canalplus, carrefourbanque, cci, centquatre, cityscoot, colisprive, cpasbien, creditdunordpee, dailymotion, dhl, dpd, dresdenwetter, ensap, ganassurances, gls, groupama, guerrillamail, happn, hds, humanis, ideel, ilmatieteenlaitos, ina, inrocks, ipapi, itella, journaldesfemmes, kickass, kiwibank, lacentrale, lampiris, lyricsdotcom, lyricsplanet, mailinator, mareeinfo, materielnet, meslieuxparis, minutes20, myedenred, myhabit, netfinca, newsfeed, okc, onlinenet, openedx, ovh, pagesjaunes, parolesmusique, parolesnet, paypal, phpbb, pixabay, playme, poivy, pradoepargne, presseurop, prixcarburants, radiofrance, residentadvisor, rmll, sachsen, sogecartenet, t411, tapatalk, taz, themisbanque, tinder, torrentz, trainline, transilien, vicsec, vicseccard, vine, virginradio, wellsfargo, yahoo
ERROR: Job failed: exit code 1