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

*Started* is not a json file issue #14

Closed
dissmaterial opened this issue Oct 3, 2022 · 6 comments
Closed

*Started* is not a json file issue #14

dissmaterial opened this issue Oct 3, 2022 · 6 comments

Comments

@dissmaterial
Copy link

I have been having an issue after installing tiktok-scraper

if I enter:
python run_downloader.py -t london paris newyork -p

output:
Hashtags to scrape: ['london', 'paris', 'newyork']
Something's wrong with what is returned by tiktok-scraper for the hashtag london - Started is not a json file.

tiktok-scraper returned - TikTok Scraper Started

Something's wrong with what is returned by tiktok-scraper for the hashtag paris - Started is not a json file.

tiktok-scraper returned - TikTok Scraper Started

Something's wrong with what is returned by tiktok-scraper for the hashtag newyork - Started is not a json file.

tiktok-scraper returned - TikTok Scraper Started

when I installed tiktok scraper - there were no issues with its install. I was wondering what the potential issue could be?
Please note that I am using a windows pc
Node v16.17.1 is installed
Python 3.10.7 is also installed

Thanks for the help!

for the sake of clarity - here was my output when I installed tiktok-scraper

npm i -g tiktok-scraper

output:
npm WARN deprecated [email protected]: request-promise has been deprecated because it extends the now deprecated request package, see request/request#3142
npm WARN deprecated [email protected]: this library is no longer supported
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 request/request#3142

changed 270 packages, and audited 271 packages in 13s

15 packages are looking for funding
run npm fund for details

found 0 vulnerabilities

@dissmaterial
Copy link
Author

@trislee @binlabs

@smrghsh
Copy link

smrghsh commented Oct 11, 2022

I have the same issue when running this package. Is this related to the following issue with tiktok-scraper dependency: drawrowfly/tiktok-scraper#796

@trislee
Copy link
Contributor

trislee commented Oct 18, 2022

Yes, this appears to be a problem with the tiktok-scraper dependency. I'm currently looking into alternative scrapers.

@cutterkom
Copy link

I have the same problem

@msramalho
Copy link
Contributor

I've added this note to the readme for the time being, the issue comes from a crucial dependency like trislee mentioned:

IMPORTANT NOTE: this tool relies on drawrowfly/tiktok-scraper which seems to be broken at time of writing and without updates for some time with several open issues (796 #799) that need to be fixed before this library can work smoothly :/

@trislee
Copy link
Contributor

trislee commented Sep 6, 2023

Switched to working scraper in commit 900d6ad, which fixes this problem.

@trislee trislee closed this as completed Sep 6, 2023
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

No branches or pull requests

5 participants