mirror of
https://github.com/bellingcat/instagram-location-search.git
synced 2026-06-10 11:38:28 +03:00
Compare commits
3 Commits
image-edit
...
v1.3.1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
068f7ca9b9 | ||
|
|
2a47ea1583 | ||
|
|
c5389544aa |
@@ -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;...
|
||||
|
||||
@@ -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 = ""
|
||||
|
||||
2
setup.py
2
setup.py
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user