Comments (5)
for me, it was an issue with canvas because I have an ARM cpu (M1 Mac). Running this fixed it for me.
brew install pkg-config cairo pango libpng jpeg giflib librsvg
from tiktok-scraper.
Are you guys able to download videos? I get cant extract video metadata
from tiktok-scraper.
Are you guys able to download videos? I get cant extract video metadata
no
in nodejs
const tiktokScraper = require('tiktok-scraper');
(async () => {
try {
const user = await tiktokScraper.user('userhere');
console.log(user);
} catch (error) {
console.log("error"+error);
}
})();
result :
{
headers: {
'user-agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4132.148 Safari/537.36',
referer: 'https://www.tiktok.com/',
cookie: 'tt_csrf_token=5OjOiYW6-NrFPN6DU; tt_chain_token=NyWSZSdRBQvsQ2faMvtgFQ=='
},
collector: []
}
any solution
from tiktok-scraper.
ngl, I just used sudo command in front of npm command.
But it came out with this warning instead
npm WARN deprecated [email protected]: this library is no longer supported
npm WARN deprecated [email protected]: request-promise has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
npm WARN deprecated [email protected]: Use your platform's native performance.now() and performance.timeOrigin.
npm WARN deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated [email protected]: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
from tiktok-scraper.
Solution is that maintainers of tiktok-scraper update their package dependencies...
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
- 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 HOT 1
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.