mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 17:19:37 +02:00
Replace learn with learnwiki (#30259)
* feat: replace learn with learnwiki * revert: for sharelatex * Change `MW_SERVER` env variable to `learnwiki` --------- Co-authored-by: Daniel Kontsek <daniel.kontsek@overleaf.com> GitOrigin-RevId: 97cdf034ed864d1620b5fd8673f0a7fe64056e01
This commit is contained in:
@@ -67,7 +67,7 @@ async function scrapeAndCachePage(baseUrl, page) {
|
||||
}
|
||||
|
||||
async function getAllPagesFrom(baseUrl, continueFrom) {
|
||||
// https://learn.overleaf.com/learn/Special:ApiSandbox#action=query&format=json&generator=allpages&gapfilterredir=nonredirects
|
||||
// https://learnwiki.overleaf.com/learn/Special:ApiSandbox#action=query&format=json&generator=allpages&gapfilterredir=nonredirects
|
||||
const uri = new URL(baseUrl + '/learn-scripts/api.php')
|
||||
uri.search = new URLSearchParams({
|
||||
action: 'query',
|
||||
|
||||
Reference in New Issue
Block a user