instagram-posts-scraper 0.0.3__tar.gz → 0.0.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {instagram_posts_scraper-0.0.3 → instagram_posts_scraper-0.0.4}/PKG-INFO +1 -1
- {instagram_posts_scraper-0.0.3 → instagram_posts_scraper-0.0.4}/instagram_posts_scraper/utils/utils.py +3 -0
- {instagram_posts_scraper-0.0.3 → instagram_posts_scraper-0.0.4}/instagram_posts_scraper.egg-info/PKG-INFO +1 -1
- {instagram_posts_scraper-0.0.3 → instagram_posts_scraper-0.0.4}/setup.py +1 -1
- {instagram_posts_scraper-0.0.3 → instagram_posts_scraper-0.0.4}/LICENSE +0 -0
- {instagram_posts_scraper-0.0.3 → instagram_posts_scraper-0.0.4}/instagram_posts_scraper/__init__.py +0 -0
- {instagram_posts_scraper-0.0.3 → instagram_posts_scraper-0.0.4}/instagram_posts_scraper/example.py +0 -0
- {instagram_posts_scraper-0.0.3 → instagram_posts_scraper-0.0.4}/instagram_posts_scraper/file_operation.py +0 -0
- {instagram_posts_scraper-0.0.3 → instagram_posts_scraper-0.0.4}/instagram_posts_scraper/instagram_posts_scraper.py +0 -0
- {instagram_posts_scraper-0.0.3 → instagram_posts_scraper-0.0.4}/instagram_posts_scraper/parse.py +0 -0
- {instagram_posts_scraper-0.0.3 → instagram_posts_scraper-0.0.4}/instagram_posts_scraper/request.py +0 -0
- {instagram_posts_scraper-0.0.3 → instagram_posts_scraper-0.0.4}/instagram_posts_scraper/scraper.py +0 -0
- {instagram_posts_scraper-0.0.3 → instagram_posts_scraper-0.0.4}/instagram_posts_scraper/utils/__init__.py +0 -0
- {instagram_posts_scraper-0.0.3 → instagram_posts_scraper-0.0.4}/instagram_posts_scraper/utils.py +0 -0
- {instagram_posts_scraper-0.0.3 → instagram_posts_scraper-0.0.4}/instagram_posts_scraper.egg-info/SOURCES.txt +0 -0
- {instagram_posts_scraper-0.0.3 → instagram_posts_scraper-0.0.4}/instagram_posts_scraper.egg-info/dependency_links.txt +0 -0
- {instagram_posts_scraper-0.0.3 → instagram_posts_scraper-0.0.4}/instagram_posts_scraper.egg-info/top_level.txt +0 -0
- {instagram_posts_scraper-0.0.3 → instagram_posts_scraper-0.0.4}/setup.cfg +0 -0
|
@@ -6,6 +6,7 @@ import pandas as pd
|
|
|
6
6
|
from functools import wraps
|
|
7
7
|
import time
|
|
8
8
|
import os
|
|
9
|
+
from selenium.webdriver.common.by import By
|
|
9
10
|
import json
|
|
10
11
|
import requests
|
|
11
12
|
from seleniumbase import Driver
|
|
@@ -90,6 +91,8 @@ def get_valid_headers_cookies(username: str):
|
|
|
90
91
|
driver = Driver(uc=True, headless=True)
|
|
91
92
|
driver.uc_open_with_reconnect(url)
|
|
92
93
|
time.sleep(10)
|
|
94
|
+
driver.find_element(By.XPATH, '//*[@id="button"]/span').click()
|
|
95
|
+
time.sleep(10)
|
|
93
96
|
|
|
94
97
|
cookies = {c['name']: c['value'] for c in driver.get_cookies()}
|
|
95
98
|
user_agent = driver.execute_script("return navigator.userAgent;")
|
|
File without changes
|
{instagram_posts_scraper-0.0.3 → instagram_posts_scraper-0.0.4}/instagram_posts_scraper/__init__.py
RENAMED
|
File without changes
|
{instagram_posts_scraper-0.0.3 → instagram_posts_scraper-0.0.4}/instagram_posts_scraper/example.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{instagram_posts_scraper-0.0.3 → instagram_posts_scraper-0.0.4}/instagram_posts_scraper/parse.py
RENAMED
|
File without changes
|
{instagram_posts_scraper-0.0.3 → instagram_posts_scraper-0.0.4}/instagram_posts_scraper/request.py
RENAMED
|
File without changes
|
{instagram_posts_scraper-0.0.3 → instagram_posts_scraper-0.0.4}/instagram_posts_scraper/scraper.py
RENAMED
|
File without changes
|
|
File without changes
|
{instagram_posts_scraper-0.0.3 → instagram_posts_scraper-0.0.4}/instagram_posts_scraper/utils.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|