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

The tiktok scraper failed to scrape posts from a channel #28

Open
elonge opened this issue Oct 28, 2024 · 1 comment
Open

The tiktok scraper failed to scrape posts from a channel #28

elonge opened this issue Oct 28, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@elonge
Copy link

elonge commented Oct 28, 2024

Scraper
Which scraper is affected?
Tiktok
Environment
Python version: use python --version
Python 3.12.3
Scrapfly SDK version: use pip show scrapfly-sdk
Name: scrapfly-sdk
Version: 0.8.18
Summary: Scrapfly SDK for Scrapfly
Home-page: https://github.com/scrapfly/python-sdk
Author: Scrapfly
Author-email: [email protected]
License: BSD
Location: /Users/elongecht/code/onecut-server/onecut-service/.venv/lib/python3.12/site-packages
Requires: backoff, decorator, loguru, python-dateutil, requests, urllib3
Required-by:
Operating System: Windows, Linux, Macos
Macos
Describe the bug
The scrape_channel function always return 0 posts, even if the tiktok profile has posts.
A clear and concise description of what the bug is and how the scrape command is being ran?
I'm running the tiktok scraper using the run.py from the git. Instead of getting a list of posts, I'm always getting 0 posts. This also happens on the test user (@oddanimalspecimens) or any other user.
Received Output
When using the run.py in the git, the channel.json result is empty list ([])
Expected Output
A list of video posts made by the test user
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
I used the updated code from Oct. 24. When running the older version, the results are the same.
Add any other context about the problem here.

@elonge elonge added the bug Something isn't working label Oct 28, 2024
@mazen-r
Copy link
Contributor

mazen-r commented Oct 31, 2024

Hey @elonge, thanks for reporting this. We are taking a look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants