From 5bfa28e5d1315da8b8178d3af88a12612debc1ab Mon Sep 17 00:00:00 2001 From: Cadence Ember Date: Wed, 8 Apr 2020 15:14:29 +1200 Subject: [PATCH] Remove breaking line of code --- src/lib/collectors.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/lib/collectors.js b/src/lib/collectors.js index a2c185d..0f5631b 100644 --- a/src/lib/collectors.js +++ b/src/lib/collectors.js @@ -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