mirror of
https://git.sr.ht/~cadence/bibliogram
synced 2026-03-29 15:51:35 +00:00
Tor check bug fixes; recognise december blocking
This commit is contained in:
parent
df61faeb3b
commit
934e6baf06
6 changed files with 41 additions and 9 deletions
|
|
@ -154,6 +154,8 @@ module.exports = [
|
|||
lang
|
||||
})
|
||||
}
|
||||
} else if (error === constants.symbols.INSTAGRAM_BLOCK_TYPE_DECEMBER) {
|
||||
return render(503, "pug/blocked_december.pug")
|
||||
} else if (error === constants.symbols.RATE_LIMITED) {
|
||||
return render(503, "pug/blocked_graphql.pug")
|
||||
} else if (error === constants.symbols.extractor_results.AGE_RESTRICTED) {
|
||||
|
|
@ -219,6 +221,8 @@ module.exports = [
|
|||
message: "This user doesn't exist.",
|
||||
withInstancesLink: false
|
||||
})
|
||||
} else if (error === constants.symbols.INSTAGRAM_BLOCK_TYPE_DECEMBER) {
|
||||
return render(502, "pug/fragments/timeline_loading_blocked_december.pug")
|
||||
} else if (error === constants.symbols.INSTAGRAM_DEMANDS_LOGIN || error === constants.symbols.RATE_LIMITED) {
|
||||
return render(503, "pug/fragments/timeline_loading_blocked.pug")
|
||||
} else if (error === constants.symbols.QUOTA_REACHED) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue