Python Forum
[split] Catch all cookies from any website
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[split] Catch all cookies from any website
#1
i am Unable to use chrome profile session using selenium webdriver on render deployment in my local machine its properly working for my chrome path but in render or any other cloud service which path i need to define because i used local chrome path in my local machine but render don't have direct access to my computer files right? , this is my code please tell me how to manage chrome sessions-

 CHROME_PROFILE_PATH = "C:/Users/DEEPSAHA/AppData/Local/Google/Chrome/UserData/Default" 

        chrome_options = webdriver.ChromeOptions()
        chrome_options.add_argument(f"user-data-dir={CHROME_PROFILE_PATH}")
        chrome_options.add_argument("--headless")
        chrome_options.add_argument("--disable-gpu")
        chrome_options.add_argument("--no-sandbox")
        chrome_options.add_argument("--disable-dev-shm-usage")

with webdriver.Chrome(service=Service(ChromeDriverManager().install()), options=chrome_options) as driver:
buran write Nov-12-2024, 07:59 AM:
Please, use proper tags when post code, traceback, output, etc. This time I have added tags for you.
See BBcode help for more info.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Saving/editing cookies? rhubarbpieguy 0 1,337 Dec-10-2022, 01:58 PM
Last Post: rhubarbpieguy
  Python cookies vj78 2 3,532 Apr-07-2021, 09:38 AM
Last Post: Naheed
  Catch all cookies from any website Chuky 8 12,620 Aug-20-2019, 04:24 PM
Last Post: snippsat
  python scraping all cookies halberdd 1 5,315 Feb-26-2019, 12:10 PM
Last Post: halberdd
  Flask: Cookies for Saving User Input ? jomonetta 2 3,954 Nov-03-2018, 10:47 AM
Last Post: j.crater
  Inserting multiple cookies using python requests freshtomatoes 0 5,917 Aug-16-2018, 09:25 PM
Last Post: freshtomatoes
  Unable to load cookies with Pickle HiImNew 5 13,001 Jan-04-2018, 12:36 PM
Last Post: snippsat
  Missing cookies in session with requests sechot 0 6,821 Oct-22-2017, 12:09 PM
Last Post: sechot

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020