It's a shitty script so things might not work as intended (or at all).
You need to install mutagen
via pip.
python3 -m pytiktokscraper --download whatthefish69
Use --download
to specify an username whose TikToks to download. (If using uid as input you must also pass -uid
)
Use --hashtag
to specify a hashtag to download TikToks using that tag.
Use --recent
alongside --download
or --hashtag
to only download the most recent 10 videos in the user feed.
Use --single
to download a video with a given Id as argument (e.g. --single 3e7da006d9234b198b554a0eb7a0b86f
)
Use --livestream
to download an user's ongoing livestream. Accepts both username and uid as input (If using uid as input you must also pass -uid
). This feature is untested.
Create a file called settings.ini
in the repository folder with the following format:
[ptts]
username = johndoe
password = grapefruits
download_path = C:\path\to\download_folder