{"repo":"milahu/aiohttp_chromium","free":true,"listed":false,"github":"https://github.com/milahu/aiohttp_chromium","clone":"git clone https://github.com/milahu/aiohttp_chromium.git","description":"aiohttp-like interface to chromium. based on selenium_driverless to bypass cloudflare","language":"Python","stars":62,"topics":["web-scraper","web-scraping","headful-scraper","headful-web-scraper","headful-chromium","gui-scripting","aiohttp","asyncio","chromium","headful-webscraper"],"license":"MIT","category":"scrapers-browser-automation","readme_excerpt":"aiohttp chromium aiohttp-like interface to chromium based on selenium driverless to bypass cloudflare status working prototype usage aiohttp chromium is a drop-in replacement for aiohttp see also - aiohttp docs - test.py why handling file downloads with selenium is too verbose, and too complex to integrate into selenium , so this is a wrapper for selenium i wanted a \"stupid http client\", so it has the same interface as aiohttp.client , and handling web pages has lower priority, so the selenium interface is hidden in response. driver known issues chromium window is stealing focus when creating new tabs, or when switching between tabs, the chromium window is grabbing focus this is an issue with the window manager by default ( headless=False, prevent focus stealing=True ) this is already fixed in enable prevent focus stealing kde for the KDE plasma desktop manual fix on the KDE plasma desktop: KWin focus stealing prevention: window titlebar &rarr; rightclick &rarr; more actions &rarr; special settings for this window &rarr; add property &rarr; prevent unwanted activation &rarr; level: extreme &rarr; apply example KDE config file /.config/kwinrulesrc /run/user/1000/fetch\\-subs\\-[0-9]{8}T[0-9]{6}\\.[0-9]+Z/chromium\\-user\\-data is a regex for the chromium user-data directory path which is the tempdir argument for ClientSession chromium seems to have no command line switch to disable this focus-grabbing possible solutions - run chromium in a LD PRELOAD wrapper - binary patching of th","default_branch":null,"files":null,"tree":[],"storefront":"/r/milahu","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/milahu/aiohttp_chromium/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}