From 578ec81443eaac0acc3443db9625c573180557f6 Mon Sep 17 00:00:00 2001 From: Miguel Ramalho <19508417+msramalho@users.noreply.github.com> Date: Tue, 21 Jun 2022 14:46:56 +0200 Subject: [PATCH] Bump version to v0.3.1 for release --- README.md | 3 +++ setup.py | 9 +++++++-- vk_url_scraper/version.py | 2 +- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 2a75706..69ffc7f 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,9 @@ vk_url_scraper -u "username here" -p "password here" --urls https://vk.com/wall1 # you can also have multiple urls vk_url_scraper -u "username here" -p "password here" --urls https://vk.com/wall12345_6789 https://vk.com/photo-12345_6789 https://vk.com/video12345_6789 +# you can pass a token as well to avoid always authenticating +# and possibly getting captch prompts +vk_url_scraper -u "username" -p "password" -t "vktoken goes here" --urls https://vk.com/wall12345_6789 # save the JSON output into a file vk_url_scraper -u "username here" -p "password here" --urls https://vk.com/wall12345_6789 > output.json diff --git a/setup.py b/setup.py index 87afb63..ea8a05a 100644 --- a/setup.py +++ b/setup.py @@ -33,7 +33,7 @@ with open("vk_url_scraper/version.py", "r") as version_file: setup( name="vk-url-scraper", version=VERSION["VERSION"], - description="", + description="Scrape VK URLs to fetch info and media - python API or command line tool.", long_description=open("README.md").read(), long_description_content_type="text/markdown", classifiers=[ @@ -43,7 +43,7 @@ setup( "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", ], - keywords="", + keywords=["scraper", "vk", "vkontakte", "vk-api", "media-downloader"], url="https://github.com/bellingcat/vk-url-scraper", author="Bellingcat", author_email="tech@bellingcat.com", @@ -55,4 +55,9 @@ setup( install_requires=read_requirements("requirements.txt"), extras_require={"dev": read_requirements("dev-requirements.txt")}, python_requires=">=3.7", + entry_points={ + 'console_scripts': [ + 'vk_url_scraper=vk_url_scraper.__main__:main', + ], + }, ) diff --git a/vk_url_scraper/version.py b/vk_url_scraper/version.py index e75c837..72ddc98 100644 --- a/vk_url_scraper/version.py +++ b/vk_url_scraper/version.py @@ -2,7 +2,7 @@ _MAJOR = "0" _MINOR = "3" # On main and in a nightly release the patch should be one ahead of the last # released build. -_PATCH = "0" +_PATCH = "1" # This is mainly for nightly builds which have the suffix ".dev$DATE". See # https://semver.org/#is-v123-a-semantic-version for the semantics. _SUFFIX = ""