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.
Files changed (18) hide show
  1. {instagram_posts_scraper-0.0.3 → instagram_posts_scraper-0.0.4}/PKG-INFO +1 -1
  2. {instagram_posts_scraper-0.0.3 → instagram_posts_scraper-0.0.4}/instagram_posts_scraper/utils/utils.py +3 -0
  3. {instagram_posts_scraper-0.0.3 → instagram_posts_scraper-0.0.4}/instagram_posts_scraper.egg-info/PKG-INFO +1 -1
  4. {instagram_posts_scraper-0.0.3 → instagram_posts_scraper-0.0.4}/setup.py +1 -1
  5. {instagram_posts_scraper-0.0.3 → instagram_posts_scraper-0.0.4}/LICENSE +0 -0
  6. {instagram_posts_scraper-0.0.3 → instagram_posts_scraper-0.0.4}/instagram_posts_scraper/__init__.py +0 -0
  7. {instagram_posts_scraper-0.0.3 → instagram_posts_scraper-0.0.4}/instagram_posts_scraper/example.py +0 -0
  8. {instagram_posts_scraper-0.0.3 → instagram_posts_scraper-0.0.4}/instagram_posts_scraper/file_operation.py +0 -0
  9. {instagram_posts_scraper-0.0.3 → instagram_posts_scraper-0.0.4}/instagram_posts_scraper/instagram_posts_scraper.py +0 -0
  10. {instagram_posts_scraper-0.0.3 → instagram_posts_scraper-0.0.4}/instagram_posts_scraper/parse.py +0 -0
  11. {instagram_posts_scraper-0.0.3 → instagram_posts_scraper-0.0.4}/instagram_posts_scraper/request.py +0 -0
  12. {instagram_posts_scraper-0.0.3 → instagram_posts_scraper-0.0.4}/instagram_posts_scraper/scraper.py +0 -0
  13. {instagram_posts_scraper-0.0.3 → instagram_posts_scraper-0.0.4}/instagram_posts_scraper/utils/__init__.py +0 -0
  14. {instagram_posts_scraper-0.0.3 → instagram_posts_scraper-0.0.4}/instagram_posts_scraper/utils.py +0 -0
  15. {instagram_posts_scraper-0.0.3 → instagram_posts_scraper-0.0.4}/instagram_posts_scraper.egg-info/SOURCES.txt +0 -0
  16. {instagram_posts_scraper-0.0.3 → instagram_posts_scraper-0.0.4}/instagram_posts_scraper.egg-info/dependency_links.txt +0 -0
  17. {instagram_posts_scraper-0.0.3 → instagram_posts_scraper-0.0.4}/instagram_posts_scraper.egg-info/top_level.txt +0 -0
  18. {instagram_posts_scraper-0.0.3 → instagram_posts_scraper-0.0.4}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: instagram-posts-scraper
3
- Version: 0.0.3
3
+ Version: 0.0.4
4
4
  Summary: Implement Instagram Posts Scraper for post data retrieval
5
5
  Home-page: https://github.com/FaustRen/instagram-posts-scraper
6
6
  Author: FaustRen
@@ -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;")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: instagram-posts-scraper
3
- Version: 0.0.3
3
+ Version: 0.0.4
4
4
  Summary: Implement Instagram Posts Scraper for post data retrieval
5
5
  Home-page: https://github.com/FaustRen/instagram-posts-scraper
6
6
  Author: FaustRen
@@ -4,7 +4,7 @@ from setuptools import setup, find_packages
4
4
 
5
5
  setup(
6
6
  name='instagram-posts-scraper',
7
- version='0.0.3',
7
+ version='0.0.4',
8
8
  packages=[
9
9
  "instagram_posts_scraper",
10
10
  "instagram_posts_scraper.utils"