diff --git a/setup.py b/setup.py index ca6d7e4..f833bd8 100644 --- a/setup.py +++ b/setup.py @@ -7,9 +7,6 @@ with codecs.open(os.path.join(current_dir, "README.md"), encoding="utf-8") as file: long_description = "\n" + file.read() -with open("requirements.txt", encoding="utf-8") as f: - required = f.read().splitlines() - VERSION = '1.1.2' DESCRIPTION = 'WebScraping library that scrapes & gathers data from multiple sources on the internet' @@ -17,7 +14,7 @@ name="webgraze", version=VERSION, author="shivendra", - author_email="", + author_email="shivharsh44@gmail.com", description=DESCRIPTION, long_description=long_description, long_description_content_type="text/markdown", @@ -27,8 +24,20 @@ classifiers=[ "Development Status :: 1 - Planning", "Intended Audience :: Developers", - "Programing Language :: Python", - "Operating System :: Windows" + "Programming Language :: Python", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "License :: OSI Approved :: MIT License", + ], + install_requires=[ + "bs4", + "tqdm", + "google-api-python-client", + "requests", + "youtube-transcript-api", + "selenium", + "webdriver-manager", ], - install_requires=required, ) \ No newline at end of file diff --git a/test.py b/test.py index 1af6eec..101521c 100644 --- a/test.py +++ b/test.py @@ -1,8 +1,6 @@ -import os -current_directory = os.path.dirname(os.path.abspath(__file__)) -os.chdir(current_directory) +from webgraze import Pexels +from webgraze.queries import Queries -from graze import Freesound - -sound = Freesound(api_key="lMKgKjaRmNMZKKxNqkjx", download_dir="audios", metrics=True) -sound(topics=["clicks", "background", "nature"]) \ No newline at end of file +queries = Queries("images") +scraper = Pexels(directory="./images", metrics=True) +scraper(topics=queries()) \ No newline at end of file