Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Catch unexpected API errors in getPageTitlesAPI
Apparently the initial JSON test is not enough, the JSON can be broken or unexpected in other ways/points. Fallback to the old scraper in such a case. Fixes #295 , perhaps. If the scraper doesn't work for the wiki, the dump will fail entirely, even if maybe the list of titles was almost complete. A different solution may be in order.
- Loading branch information