Once T140135 is finished, we should update the InternetArchiveBot code to use the new package via composer, rather than having it's own code for deadlink detection.
Description
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | Cyberpower678 | T120433 Migrate dead external links to archives | |||
Resolved | Cyberpower678 | T141347 Create and test v1.2 of InternetArchiveBot (tracking) | |||
Resolved | Niharika | T140388 Get IABot to use new CheckIfDead package | |||
Resolved | Niharika | T140135 Break out CheckIfDead class into a separate GitHub repo |
Event Timeline
I put up a PR: https://github.com/wikimedia/Cyberbot_II/pull/2 although I don't really have a way of testing it. Ryan or Leon will have to do the honors.
I'm confused. It looks like it's still using checkDeadlinks() instead of areLinksDead(). Is there another pull request?
Ah! You're right, I updated the format used but forgot to update the name. Fixed now.
Pull to the branch composer-test and I'll test it out.
https://github.com/cyberpower678/Cyberbot_II/tree/composer-test
I don't understand this part. There doesn't seem to be any function which tests analyzePage. What am I missing?
New PR is up at https://github.com/cyberpower678/Cyberbot_II/pull/29 for @Cyberpower678 to test.
I don't understand this part. There doesn't seem to be any function which tests analyzePage. What am I missing?
Looks like you fixed it:
https://github.com/cyberpower678/Cyberbot_II/pull/29/files#diff-c710db55adb15404bde6dfaccd3a9124R4