Закрыт

Want to get Cookie by selenium and import it to requests cookiejar

Hello,

i need to get a cookie from this webpage: "[login to view URL]" to use it, without javascript.

The smartest solution would be, to get only by mechanicalsoup, but this is apparently for noone possible. So i have tried it by selenium, but if i go to the webpage, i get the same result i have got by mechanicalsoup, only javascript...

I need you to fix this problem and import the cookies you have got by selenium to mechanicalsoup.

If you can't fix this, you could also tell me how to import cookies to "RequestsCookieJar" without getting this error:

TypeError: create_cookie() got unexpected keyword arguments: ['httpOnly', 'id', 'session']

mechanicalsoup is a package which is based on requests and beautifulsoup.

------

What i have tried.

import mechanicalsoup

from selenium import webdriver

chrome_options = [login to view URL]()

chrome_options.add_argument("user-agent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36")

driver = [login to view URL](options=chrome_options)

[login to view URL]('[login to view URL]')

selenium_cookies = driver.get_cookies()

browser = [login to view URL]()

browser.set_user_agent('Mozilla/5.0 (Windows NT 6.1; WOW64; rv:33.0) Gecko/20120101 Firefox/33.0')

for cookie in selenium_cookies:

[login to view URL](**cookie)

[login to view URL]('[login to view URL]')

browser.launch_browser()

Квалификация: JavaScript, Python, Веб-скрейпинг, Google Chrome, Selenium

Показать больше want import customers oscommerce database, excel import web data cookie, applet set cookie requests, php proxy cookie requests, want import mail, free import export want ads, hello want help last part project, hello freelancer i need simple logo design and i have a pretty good idea what type of design i want, hello sir i go through carefully your job post and i want to do full seo work for your website i have good experience of seo sem, hello dear translator proofreader interpreter translation agency if you want to receive translation jobs from all agencies in th, hello i am a app developer from germany and want to create your app, java i want a write a desktop application that requests data from a website, Hello wonderful designers! I need a website mockup created for a new website for my agency. I want it to be AMAZING and I need y, Design a Logo Hello. I\ m looking for a new logo for my residential real estate business. I want a clean modern design, that sub, Hello i want a PHP website system dealing with my server game API and, Hello i am 10th passed in a good percentage 90.08% i took 2years gap because of health issues so i cnt go for 11th n 12th i want, Hello, We have a cleaning service called \ aideaumenage\ . We want a flyer designed for this. Our website is \ https://www.aid, python import requests, script timeout passed, if you want to finish import, aws lambda python import requests

О работодателе:
( 0 отзыв(-а, -ов) ) Waldsolms, Germany

ID проекта: #24605898

6 фрилансеров(-а) в среднем готовы выполнить эту работу за €29

raminde

Have over 10 years of experience in data mining/ Web scrapping/ Scraping Bots/ Chrome/Opera Extensions I have done it all. Tell us your source and we will put it in excel for you, Or we can even give you filtered resul Больше

€34 EUR за 1 день
(7 отзывов(-а))
5.6
thinkbased

Hi , i can write a small script for you to read cookies in any language for those website. I can also do it in selenium if you want . Let's talk in details if you are interested.

€40 EUR за 2 дней(-я)
(5 отзывов(-а))
3.3
bayilyas

Hi. I can help you to import cookies and I'm available now. Please send me a message so that we can discuss all details. Kind regards

€30 EUR за 1 день
(4 отзывов(-а))
2.3
sundarashok1994

Hi, I have knowledge in selenium automation tool with 3 + years of knowledge. I handle the cookies and session for my projects. I gone through details which you mentioned. I can able to import the cookies. Can you ple Больше

€28 EUR за 3 дней(-я)
(0 отзывов(-а))
0.0
topforce1990

Hello, i am intersted in your project , I have a big experience with webscraping and data minig . i am waitin you , please contact me to get more informations .

€19 EUR за 1 день
(0 отзывов(-а))
0.0
havithemes

Dear client, I know exactly the reason why this issue happens. We can also fix it quickly and easily. Please give me a chance. Thanks

€20 EUR за 1 день
(0 отзывов(-а))
0.0