~cadence/bibliogram

82ee6e6d6462dc16caa44dd58ae94d77d0435661 — Cadence Ember 3 years ago c57d51e
Im Cool
1 files changed, 1 insertions(+), 1 deletions(-)

M src/lib/collectors.js
M src/lib/collectors.js => src/lib/collectors.js +1 -1
@@ 95,7 95,7 @@ function fetchUserFromHTML(username) {
		}
	}
	return userRequestCache.getOrFetch("user/"+username, false, true, () => {
		return switcher.request("user_html", `https://www.instagram.com/${username}/`, async res => {
		return switcher.request("user_html", `https://www.instagram.com/${username}/feed/`, async res => {
			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