3 Commits

Author SHA1 Message Date
msramalho
068f7ca9b9 deps quick fix 2023-11-16 17:11:15 +01:00
msramalho
2a47ea1583 updates deps 2023-11-16 17:01:20 +01:00
Miguel Sozinho Ramalho
c5389544aa Merge pull request #14 from bellingcat/image-edit 2023-05-01 12:26:12 +01:00
3 changed files with 7 additions and 7 deletions

View File

@@ -7,10 +7,6 @@ from datetime import datetime, timezone
from itertools import product
from statistics import pstdev
from string import Template
from selenium import webdriver
from selenium.webdriver.chrome.service import Service as ChromiumService
from webdriver_manager.chrome import ChromeDriverManager
from webdriver_manager.core.utils import ChromeType
from time import sleep
import requests
@@ -119,6 +115,10 @@ def encode_date(date_str: str):
def get_insta_cookies():
from selenium import webdriver
from selenium.webdriver.chrome.service import Service as ChromiumService
from webdriver_manager.chrome import ChromeDriverManager
from webdriver_manager.core.utils import ChromeType
"""
Attempts to run selenium, provide user with the login form and extract cookies from page to be used in program.
Returns cookies formatted as name=value;name=value;...

View File

@@ -1,9 +1,9 @@
_MAJOR = "1"
_MINOR = "2"
_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 = ""

View File

@@ -15,7 +15,7 @@ setuptools.setup(
long_description_content_type="text/markdown",
url="https://www.bellingcat.com",
license="MIT License",
install_requires=["requests", "instagram-scraper"],
install_requires=["requests", "numpy", "pandas", "selenium", "webdriver-manager"],
classifiers=[
'Intended Audience :: Information Technology',
'License :: OSI Approved :: MIT License',