Remove breaking line of code

This commit is contained in:
Cadence Ember 2020-04-08 15:14:29 +12:00
parent 99213216f7
commit 5bfa28e5d1
No known key found for this signature in database
GPG Key ID: 128B99B1B74A6412
1 changed files with 0 additions and 1 deletions

View File

@ -76,7 +76,6 @@ async function fetchUser(username, isRSS) {
function fetchUserFromHTML(username) {
return userRequestCache.getOrFetch("user/"+username, false, true, () => {
return switcher.request("user_html", `https://www.instagram.com/${username}/`, async res => {
throw constants.symbols.INSTAGRAM_DEMANDS_LOGIN // TEST
if (res.status === 301) throw constants.symbols.ENDPOINT_OVERRIDDEN
if (res.status === 302) throw constants.symbols.INSTAGRAM_DEMANDS_LOGIN
if (res.status === 429) throw constants.symbols.RATE_LIMITED