Giter Club home page Giter Club logo

kameleo-io / local-api-examples Goto Github PK

View Code? Open in Web Editor NEW
55.0 55.0 23.0 625 KB

Useful and easy to understand examples written in Node.js and .NET Core about web scraping and automated browsing with Kameleo Client

Home Page: https://kameleo.io/learn-more/automation

C# 29.38% JavaScript 40.00% Python 30.61%
automation bot browser-fingerprint chrome crawler firefox kameleo privacy proxies puppeteer recaptcha scraper scraping selenium stealth webdriver

local-api-examples's People

Contributors

kameleo-team avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

local-api-examples's Issues

hello i connect seleniumwire with kameleo but i'm not able to intercepted request this is the code

hello i connect seleniumwire with kameleo

but i'm not able to intercepted request

this is the code


# This is the port Kameleo.CLI is listening on. Default value is 5050, but can be overridden in appsettings.json file
kameleoBaseUrl = 'http://localhost:5050'
kam_client = KameleoLocalApiClient(kameleoBaseUrl)

# Search Chrome Base Profiles
base_profiles = kam_client.search_base_profiles(
device_type='desktop',
browser_product='chrome'
)
# Create a new profile with recommended settings
# Choose one of the Base Profiles
create_profile_request = BuilderForCreateProfile \
    .for_base_profile(base_profiles[0].id) \
    .set_recommended_defaults() \
    .build()

kam_profile = kam_client.create_profile(body=create_profile_request)

# Start the browser profile
kam_client.start_profile(kam_profile.id)

options = webdriver.ChromeOptions()
options.add_experimental_option("kameleo:profileId", kam_profile.id)
driver = webdriver.Remote(
command_executor=f'{kameleoBaseUrl}/webdriver',
options=options
)

and this is my ipconfig

Windows IP Configuration

Ethernet adapter Ethernet 3:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :

Unknown adapter Local Area Connection:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :

Unknown adapter OpenVPN TAP-Windows6:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :

Ethernet adapter Ethernet:

Connection-specific DNS Suffix . :
Link-local IPv6 Address . . . . . : fe80::a4bf:418d:6794:9d00%12
IPv4 Address. . . . . . . . . . . : 172.20.10.2
Subnet Mask . . . . . . . . . . . : 255.255.255.240
Default Gateway . . . . . . . . . : 172.20.10.1

Ethernet adapter Ethernet 2:

Media State . . . . . . . . . . . : Media disconnected

Proxy auto-configuration urls in Kameleo

I see that kameleo now supports browser preferences and options on starting profile in a new endpoint. Does kamaleo accept proxy auto-configuration urls through modifying the preferences and options? It doesn't seem to work on my end

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.