IG

FREEMIUM
Por Crawler | Atualizado vor 5 Tagen | Social
Popularidade

9.9 / 10

Latência

3,384ms

Nível de serviço

100%

Health Check

N/A

Voltar para todas as discussões

next_cursor in scrapping comments

Rapid account: Abarmoudeh
abarmoudeh
vor 2 Jahren

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 vor 2 Jahren

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

Rapid account: Abarmoudeh
abarmoudeh Commented vor 2 Jahren

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”}”

Junte-se à discussão - adicione o comentário abaixo:

Efetue login / inscreva-se para postar novos comentários