trying to download all profile images from a userlist in a text file.
Hello, I found apify on the internet and through chatgpt I am trying to create a tiktok profile photo scraper but I can't find the solution... my current code takes a list of users from a text file and I would like it with the api The images will be downloaded to a particular directory but I am getting an error that I have not even been able to resolve with gpt chat. Can I publish my code here or should I do it another way?
The console say : "We have bad news: there is no API endpoint at this URL. Did you specify it correctly?" but i don't know how to fix that :(
3 Replies
View post on community site
This post has been pushed to the community knowledgebase. Any replies in this thread will be synced to the community site.
Apify Community
conscious-sapphireโข8mo ago
hey, this code is quite clunky, the best approach would be to follow the example in the docs and edit it based on your use case: https://apify.com/clockworks/tiktok-profile-scraper/api/python
Apify
โช Tiktok Profile Scraper API in Python ยท Apify
Learn how to interact with Tiktok Profile Scraper API in Python. Includes an example Python code snippet to help you get started quickly.
conscious-sapphireโข8mo ago
this can be a minimal example of how to print out profile images, you can add reading from/saving to files as needed, also you can specify more than one profile in the input