Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Unable to intercept request and rate limits

Aperta
#312 3 commenti 1 reazione 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
45/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
typescript
Ambito
networking

Direzione di ricerca

Inizia individuando il codice che registra “Need to intercept network request” e il fallback per la richiesta manuale, quindi riproduci il problema con le impostazioni predefinite del bot dopo un uso prolungato. Esamina come la richiesta intercettata e il fallback gestiscono le risposte di Instagram, inclusa la risposta HTML 429 segnalata. Il lavoro è completato quando il percorso della richiesta non raggiunge più l’errore di analisi JSON segnalato quando l’intercettazione non è disponibile.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

After I start the bot (default settings), it works fine but after few hours it stops working.

Image
8:09 PM - Waiting 34.62 sec
8:10 PM - Trying to get user data from HTML
8:10 PM - Navigating to user the_tapiaernie
8:10 PM - Goto https://www.instagram.com/the_tapiaernie
8:10 PM - Page loaded
8:10 PM - Waiting 2.09 sec
8:10 PM - Need to intercept network request to get user data
8:10 PM - Unable to intercept request, will send manually
8:10 PM - Failed to manually send request SyntaxError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON
8:10 PM - Failed to process follower the_tapiaernie SyntaxError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON
8:10 PM - Waiting 38.74 sec
8:11 PM - Trying to get user data from HTML
8:11 PM - Navigating to user marcoantoniosaenzgalicia
8:11 PM - Goto https://www.instagram.com/marcoantoniosaenzgalicia
8:11 PM - Page loaded
8:11 PM - Waiting 2.26 sec
8:11 PM - Need to intercept network request to get user data
8:11 PM - Unable to intercept request, will send manually
8:11 PM - Failed to manually send request SyntaxError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON
8:11 PM - Failed to process follower marcoantoniosaenzgalicia SyntaxError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON
8:11 PM - Waiting 25.96 sec
8:11 PM - Trying to get user data from HTML
8:11 PM - Navigating to user carmona875
8:11 PM - Goto https://www.instagram.com/carmona875

Failed to manually send request SyntaxError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON -- This particular error happens because Instagram not sending a json, and giving 429 response.

Which can be avoided if Unable to intercept request, will send manually --> this issue get fixed.

Lingua principale
TypeScript
Stelle
696
Fork
103
Merge medio
4m
PR unite (30g)
3

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di mifi/SimpleInstaBot

Tutte le issue di mifi/SimpleInstaBot

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.