Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Throttle requests to TikTok #659

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

zvictor
Copy link
Contributor

@zvictor zvictor commented Aug 23, 2021

No description provided.

Copy link
Contributor

@asportnoy asportnoy left a comment

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.

README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
@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
Copy link
Contributor

@asportnoy asportnoy left a comment

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

@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
Copy link

mandys commented Aug 30, 2022

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