mirror of
https://github.com/bellingcat/vk-url-scraper.git
synced 2026-06-12 05:18:35 +03:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
aae2bb5999 |
@@ -19,7 +19,6 @@ def test_login_custom_file():
|
|||||||
VkScraper(
|
VkScraper(
|
||||||
os.environ["VK_USERNAME"],
|
os.environ["VK_USERNAME"],
|
||||||
os.environ["VK_PASSWORD"],
|
os.environ["VK_PASSWORD"],
|
||||||
os.environ.get("VK_TOKEN"),
|
|
||||||
session_file=session_filename,
|
session_file=session_filename,
|
||||||
)
|
)
|
||||||
assert os.path.isfile(session_filename)
|
assert os.path.isfile(session_filename)
|
||||||
|
|||||||
@@ -61,7 +61,7 @@ class VkScraper:
|
|||||||
token : str
|
token : str
|
||||||
Access token received after authenticating, can be found in the vl_config.v2.json file
|
Access token received after authenticating, can be found in the vl_config.v2.json file
|
||||||
session_file : str
|
session_file : str
|
||||||
File name where the VK session is saved so future logins are easier
|
File name where the VK session is saved so future logins are easier, this will not be created if token is passed
|
||||||
captcha_handler : func
|
captcha_handler : func
|
||||||
Function that can receive a vk_api captcha instance and help the user solve it, default is a complete CLI handler
|
Function that can receive a vk_api captcha instance and help the user solve it, default is a complete CLI handler
|
||||||
"""
|
"""
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ _MAJOR = "0"
|
|||||||
_MINOR = "3"
|
_MINOR = "3"
|
||||||
# On main and in a nightly release the patch should be one ahead of the last
|
# On main and in a nightly release the patch should be one ahead of the last
|
||||||
# released build.
|
# released build.
|
||||||
_PATCH = "7"
|
_PATCH = "8"
|
||||||
# This is mainly for nightly builds which have the suffix ".dev$DATE". See
|
# This is mainly for nightly builds which have the suffix ".dev$DATE". See
|
||||||
# https://semver.org/#is-v123-a-semantic-version for the semantics.
|
# https://semver.org/#is-v123-a-semantic-version for the semantics.
|
||||||
_SUFFIX = ""
|
_SUFFIX = ""
|
||||||
|
|||||||
Reference in New Issue
Block a user