IG

FREEMIUM
Durch Crawler | Aktualisiert 3일 전 | Social
Popularität

9.9 / 10

Latenz

3,384ms

Service Level

100%

Health Check

N/A

Zurück zu allen Diskussionen

next_cursor in scrapping comments

Rapid account: Abarmoudeh
abarmoudeh
hace 2 años

Hi
for example there is a post contains 200 comments and I just wanted to scrape the 100 comments of that.

How should I set the next_cursor for this?

Rapid account: Yuananf
yuananf Commented hace 2 años

The next_cursor should like this: {"cached_comments_cursor": "17915386490497488", "bifilter_token": "KE0BEABoAEAAIAAYABgAEAAIAAgAfWFNX-bmOSy-_sM9f3P_y9a7xu6dNftjRIxqus2bc_Xd5__v2v2k52PfjT4vRniZPgOC0yRZMj5BAAA="}.

Rapid account: Abarmoudeh
abarmoudeh Commented hace 2 años

My end cursor in the first run is:

end_cursor": “{“cached_comments_cursor”: “17925341924053814”, “bifilter_token”: “KFYBFABoAEAAKAAgABgAEAAIAAgACAAIAH1hTVXm5jksvv7DHX9z_8rWu8bunV8g9fcMXrzpmMTzb-qVDT77_-_b9pOdj3xp8XtniZOgcomCNEJq60JyIAA=”}”

and I set the below value to end_cursor in next runs:

KFYBFABoAEAAKAAgABgAEAAIAAgACAAIAH1hTVXm5jksvv7DHX9z_8rWu8bunV8g9fcMXrzpmMTzb-qVDT77_-_b9pOdj3xp8XtniZOgcomCNEJq60JyIAA=\

but I get this error:

“500 - {“message”:“execution failure”,“errors”:[{“message”:“execution error”,“locations”:[]}],“data”:{“shortcode_media”:null},“status”:“fail”}”

Nehmen Sie an der Diskussion teil - fügen Sie unten einen Kommentar hinzu:

Anmelden / Registrieren, um neue Kommentare zu veröffentlichen