| Framawiki added a comment. |
Can't reproduce:
pywikibot-core$ python -m unittest -v tests.weblinkchecker_tests.TestMementoDefault bot ? tests: max_retries reduced from 15 to 1 test_invalid (tests.weblinkchecker_tests.TestMementoDefault) Test getting memento for invalid URL. ... ok test_newest (tests.weblinkchecker_tests.TestMementoDefault) Test getting memento for newest https://google.com. ... 27.210s ok
---------------------------------------------------------------------- Ran 2 tests in 27.215s OK VERBOSE:pywiki:Closing network session. VERBOSE:pywiki:Network session closed.
pywikibot-core$ python pwb.py shell
bot ? y
import Welcome to the Pywikibot interactive shell!
>>> import scripts.weblinkchecker as weblinkchecker
>>> import datetime
>>> weblinkchecker._get_closest_memento_url('https://google.com', datetime.datetime.now(), None)
u'https://web.archive.org/web/20180606163431/http://www.google.com/'
>>>Memento is a client of a web provider, we can suppose that it was a temporary upstream problem ?
TASK DETAIL
EMAIL PREFERENCES
To: Framawiki
Cc: Framawiki, Aklapper, Dalba, Xqt, pywikibot-bugs-list, Sc4s2cg, Magul, Tbscho, MayS, Salgo60, Mdupont, JJMC89, Avicennasis, jayvdb, Masti, Alchimista, Rxy
Cc: Framawiki, Aklapper, Dalba, Xqt, pywikibot-bugs-list, Sc4s2cg, Magul, Tbscho, MayS, Salgo60, Mdupont, JJMC89, Avicennasis, jayvdb, Masti, Alchimista, Rxy
_______________________________________________ pywikibot-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
