-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from shivendrra/dev
pulling new changes from dev
- Loading branch information
Showing
11 changed files
with
78 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,9 +4,12 @@ __pycache__/ | |
*.py[cod] | ||
*.exe | ||
|
||
*.pypirc | ||
build | ||
.vscode | ||
|
||
*.egg-info/ | ||
|
||
# extras | ||
*.env | ||
Datasets | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,7 @@ | ||
bs4 | ||
requests | ||
tqdm | ||
timeit | ||
json | ||
re | ||
googleapiclient | ||
google-api-python-client | ||
youtube_transcript_api | ||
logging | ||
typing | ||
selenium | ||
webdriver-manager | ||
base64 | ||
webdriver-manager |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
from setuptools import setup, find_packages | ||
import codecs | ||
import os | ||
|
||
current_dir = os.path.abspath(os.path.dirname(__file__)) | ||
|
||
with codecs.open(os.path.join(current_dir, "README.md"), encoding="utf-8") as file: | ||
long_description = "\n" + file.read() | ||
|
||
VERSION = '1.1.2' | ||
DESCRIPTION = 'WebScraping library that scrapes & gathers data from multiple sources on the internet' | ||
|
||
setup( | ||
name="webgraze", | ||
version=VERSION, | ||
author="shivendra", | ||
author_email="shivharsh44@gmail.com", | ||
description=DESCRIPTION, | ||
long_description=long_description, | ||
long_description_content_type="text/markdown", | ||
license="MIT", | ||
packages=find_packages(), | ||
keywords=["webscraping", "scraping", "webscraping library", "web scraping", "python webscraping", "beautifulsoup", "selenium"], | ||
classifiers=[ | ||
"Development Status :: 1 - Planning", | ||
"Intended Audience :: Developers", | ||
"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", | ||
], | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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"]) | ||
queries = Queries("images") | ||
scraper = Pexels(directory="./images", metrics=True) | ||
scraper(topics=queries()) |