bellingcat / tiktok-hashtag-analysis

Provides tools to analyze hashtags within posts scraped from TikTok.
https://pypi.org/project/tiktok-hashtag-analysis/
MIT License
308 stars 41 forks source link

Config file usage is unclear #27

Open Mohd2493 opened 9 months ago

Mohd2493 commented 9 months ago

does anyone have an example config file layout

File name of configuration file to store TikTok credentials to

GalenReich commented 9 months ago

Hi Mohd2493, thanks for opening this issue. Currently, the configuration file argument is not used by the tool and is incorrectly documented.

GalenReich commented 9 months ago

Currently, the readme and argparse include a config parameter that is unused by the tool:

--config CONFIG File name of configuration file to store TikTok credentials to

The argument is passed to TikTokDownloader, but is not used.

https://github.com/bellingcat/tiktok-hashtag-analysis/blob/18e2c4de3e67e2c77edb9acdbcaf773ac27ea943/tiktok_hashtag_analysis/base.py#L143

Looks like Authorization was removed from here in #22 as unneeded. @trislee can this be removed safely?