mirror of
				https://git.sr.ht/~cadence/bibliogram
				synced 2025-10-30 19:15:37 +00:00 
			
		
		
		
	Remove breaking line of code
This commit is contained in:
		
							parent
							
								
									99213216f7
								
							
						
					
					
						commit
						5bfa28e5d1
					
				| @ -76,7 +76,6 @@ async function fetchUser(username, isRSS) { | |||||||
| function fetchUserFromHTML(username) { | function fetchUserFromHTML(username) { | ||||||
| 	return userRequestCache.getOrFetch("user/"+username, false, true, () => { | 	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}/`, async res => { | ||||||
| 			throw constants.symbols.INSTAGRAM_DEMANDS_LOGIN // TEST
 |  | ||||||
| 			if (res.status === 301) throw constants.symbols.ENDPOINT_OVERRIDDEN | 			if (res.status === 301) throw constants.symbols.ENDPOINT_OVERRIDDEN | ||||||
| 			if (res.status === 302) throw constants.symbols.INSTAGRAM_DEMANDS_LOGIN | 			if (res.status === 302) throw constants.symbols.INSTAGRAM_DEMANDS_LOGIN | ||||||
| 			if (res.status === 429) throw constants.symbols.RATE_LIMITED | 			if (res.status === 429) throw constants.symbols.RATE_LIMITED | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user