Comments (8)
Also new update is coming soon, with speed improvements and new features
from tiktok-scraper.
Update - the node version does seem to work when using usernames, not user ids, e.g.
const posts = await TikTokScraper.user(USER_NAME, {
user_data: true,
number: 10,
});
So maybe updating that just got missed in the 0.0.16 release?
from tiktok-scraper.
Regarding by_user_id
// Some TikTok user id's are larger then MAX_SAFE_INTEGER, you need to pass user id as a string
And it should work
Let me know
from tiktok-scraper.
@drawrowfly, unfortunately, I am already passing user_id
as a string and it is not working. Can you try it on your side?
from tiktok-scraper.
I did and it worked well
const TikTok = require('tiktok-scraper');
(async () => {
const posts = await TikTok.user('66654060363731107901', {
by_user_id: true,
user_data: true,
number: 10,
});
console.log(posts);
})();
from tiktok-scraper.
That's so strange. I tried that exact code and get { collector: [] }
from tiktok-scraper.
Ouch my bad, this is bad user id, try please with this one '6634543319555588102'
from tiktok-scraper.
That one works, thanks, I think the issue is I was trying to scrape an account that has no been made private, so it doesn't return anything. I'll close the issue - thanks for your help
from tiktok-scraper.
Related Issues (20)
- Scraper was working and now isn't
- The scraper returns no results HOT 10
- permission denied: tiktok-scraper HOT 1
- Get video captions HOT 1
- Unable to npm install HOT 5
- Bug: getUserProfileInfo method doesn't work for users with 0 posts
- Python scraper
- Can't Extract Video Metadata HOT 5
- is this amazing tool still working? HOT 3
- download videos as .mp4 files without watermarks
- Scraper HOT 1
- Can't extract video metadat HOT 2
- Scrape shop/product data HOT 1
- i ame the code for scraping tranding tiktok video but its showing an error with api HOT 2
- Enable running on Apify cloud platform
- o
- Docker run User fails even if user exists
- Failing to use terminal command when running on Windows 10
- Is this still working ? HOT 7
- Multiple Downloading
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tiktok-scraper.