simplified downloading logic (methods for keeping track of files less necessary since scraping can be done in Python), added functionality to use yt-dlp to download videos, added functionality to download TikTok image galleries

This commit is contained in:
Tristan Lee
2023-09-01 17:05:13 -05:00
parent 06b4a74c7d
commit a7bd023c21
17 changed files with 364 additions and 1244 deletions

View File

@@ -1,5 +1,5 @@
from setuptools import setup, find_packages
from tiktok_hashtag_analysis.version import __version__
from setuptools import setup
from tiktok_hashtag_analysis import __version__
with open("README.md", "r", encoding="utf-8") as file:
long_description = file.read()
@@ -10,23 +10,18 @@ setup(
author="Bellingcat",
author_email="tech@bellingcat.com",
packages=["tiktok_hashtag_analysis"],
package_data={
"tiktok_hashtag_analysis": [
"logging.config",
]
},
description="Analyze hashtags within posts scraped from TikTok",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/bellingcat/tiktok-hashtag-analysis",
license="MIT License",
install_requires=["seaborn", "matplotlib"],
install_requires=["seaborn", "matplotlib", "TikTokApi", "requests", "yt-dlp"],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Information Technology',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Programming Language :: Python :: 3'
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Information Technology",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Programming Language :: Python :: 3",
],
entry_points={
"console_scripts": [