Comments (4)
I figured I should attach my chrome options.
chrome_options = ChromeOptions()
chrome_options.add_argument("--disable-gpu")
chrome_options.add_argument("--disable-dev-shm-usage")
chrome_options.add_argument("--disable-infobars")
chrome_options.add_argument("--disable-popup-blocking")
chrome_options.add_argument("--disable-notifications")
chrome_options.add_argument("--ignore-ssl-errors")
chrome_options.add_argument("--start-maximized")
chrome_options.add_argument(f"--user-agent={user_agent_str}")
chrome_options.add_argument("--user-data-dir=/tmp/chrome")
chrome_options.add_argument("--disable-setuid-sandbox")
chrome_options.add_argument("--disable-application-cache")
chrome_options.add_argument("--disable-extensions")
chrome_options.add_argument("--enable-javascript")
chrome_options.add_argument("--disable-blink-features=AutomationControlled")
#if headless
chrome_options.add_argument("--no-sandbox")
chrome_options.add_argument("--window-size=1920,1080")
from ad_clicker.
Update on this: the legacy page does not serve ads any more, as far as I'm aware. This means we need to figure out what triggers it, which I found out is some obscured fingerprinting code. Unless we can bypass it, mass deployment of this is likely toast after a while on instances dedicated to it.
I'm waiting for a friend to spin up some VMs for me on her home lab so I can test this using non-oracle IP ranges.
from ad_clicker.
It is related to selected user agent string. I updated it to take user agent only from the predefined list.
from ad_clicker.
Got it. Pulled the latest commit, everything seems to work now. Thanks a lot!
from ad_clicker.
Related Issues (20)
- Error when proxy option is used HOT 3
- Bought a proxy for a a specific country, but when I run the script it opens Google Chrome localized in a different country HOT 7
- captcha google HOT 6
- No module named 'psutil' on python run_in_loop.py HOT 3
- Error on Windows 11 HOT 4
- Click on non-ads link HOT 1
- Press fix issue HOT 3
- Hello
- startup without proxy in multi, queue HOT 1
- Problem with clicking on phone ads HOT 3
- cannot connect to chrome - some of the time HOT 3
- Proxy list HOT 2
- Clicking ads not working on MacOS HOT 1
- All clicks are marked as invalid (ad_clicker is now detected) HOT 3
- Issue when running with proxy HOT 1
- The localization used is not the same as the proxies I use HOT 5
- TypeError: WebDriver.__init__() got an unexpected keyword argument 'executable_path' HOT 1
- [Question] Premium version still undetected? HOT 1
- browser change HOT 1
- distutils package and Python 3.12 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ad_clicker.