You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 20, 2023. It is now read-only.
First off - thanks a bunch for making this script available. Very helpful.
The scraper looks to be working fine however I'm unable to figure out where the csv file containing the scraped data is located on my machine. Due to environmental issues i'm running the script through my IDE. Any thoughts?
#from selenium import Chrome
from selenium import webdriver
from instascrape import Profile, scrape_posts
import csv
First off - thanks a bunch for making this script available. Very helpful.
The scraper looks to be working fine however I'm unable to figure out where the csv file containing the scraped data is located on my machine. Due to environmental issues i'm running the script through my IDE. Any thoughts?
#from selenium import Chrome
from selenium import webdriver
from instascrape import Profile, scrape_posts
import csv
Creating our webdriver
options = webdriver.ChromeOptions()
options.add_argument("")
Path to your chrome profile
w = webdriver.Chrome("/usr/local/bin/chromedriver", options=options)
Scraping JT's profile
SESSIONID = ''
headers = {"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 "
"KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36",
"cookie": "sessionid=;"}
jt = Profile("et_used_boards")
jt.scrape(headers=headers)
Scraping the posts
posts = jt.get_posts(webdriver=w, login_first=True)
scraped, unscraped = scrape_posts(posts, silent=False, headers=headers, pause=10)
The text was updated successfully, but these errors were encountered: