Skip to content

[Feature] Throttle requests to TikTok#659

Open
zvictor wants to merge 1 commit into
drawrowfly:masterfrom
zvictor:throttle
Open

[Feature] Throttle requests to TikTok#659
zvictor wants to merge 1 commit into
drawrowfly:masterfrom
zvictor:throttle

Conversation

@zvictor

@zvictor zvictor commented Aug 23, 2021

Copy link
Copy Markdown
Contributor

No description provided.

@asportnoy asportnoy left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall seems pretty good to me. Just these small things.

Comment thread README.md Outdated
Comment thread README.md
@zvictor zvictor changed the title New Feature! Throttle requests to TikTok [Feature] Throttle requests to TikTok Sep 2, 2021
This was referenced Sep 2, 2021

@asportnoy asportnoy left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Requested changes were made.

@kmeshavkin

Copy link
Copy Markdown

@drawrowfly can you please merge these changes? Very useful feature for requesting large amount of data because I don't think we have an option to paginate (offset) manually yet.

@mandys

mandys commented Aug 30, 2022

Copy link
Copy Markdown

Hey @zvictor,

Could you please provide some info on how to use this functionality.

I tried -

	const posts = await TikTokScraper.hashtag(hashtag, {
		number: 500,
		sessionList: ['sid_tt=123;'],
        throttlelimit: 2,
        throttleinterval: 500
	});

What's this supposed to do ? Every 500ms send only 2 requests ?

Changing these have no effect on the scraping.
Is this only for using from command line ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants