Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/g3th/selenium_account_checkers

Webdriver account checker for a variety of TV streaming services.
https://github.com/g3th/selenium_account_checkers

account-checker chromedriver dazn disney espnplus hbo headers pyshadow python selenium user-agent webdriver

Last synced: 3 months ago
JSON representation

Webdriver account checker for a variety of TV streaming services.

Awesome Lists containing this project

README

        

# Selenium Account Checkers

https://github.com/g3th/Selenium_Account_Checkers/assets/74467654/8ea987b3-ffd3-466e-8f84-524e15f0cdce

### What ###

Account checker for various services, which simulates user behaviour and, as such, has near-limitless possibilties.

### Why ###

Although checking with ```requests + beautifulsoup + proxies``` is preferred due to speed, logging in with webdriver allows (in many cases) to simulate user behaviour and prevent blocking by services.

Moreover, this method is completely free and does not require paid proxies or paid captcha-solving. Captcha is solvable with existing extensions (i.e. Buster or Hekt), by packing the extension into a .crx and including with ```options.add_extension```. This functionality has currently not been included, although it has been tested with Sling TV.

### How ###

To launch.

``` Open a Terminal in the program's directory```

``` launch main.py in your environment of choice (i.e. python3 main.py)```

Some services are still experimental and aren't working properly, but the majority have improved functionality compared to the initial project.

**WARNING:**

Checking too many accounts might result in 429 response (or similar error), and there will be a cool-down period where login for current IP will be disabled.

### Requires ###

An IP Address for the service you are checking, as you will be geo-blocked otherwise (i.e. for HBO a US IP is required).

Some scripts inform you, through conditional checks on the page's existing elements, if the service will deny you access due geographical restrictions.

Note: If a service returns errors such as "Try again later" it is advised to use a different IP address and run the program again.

Suggested VPN for each service:

* Nordvpn/ExpressVPN (DAZN Italy/Spain/Germany/Japan)
* Windscribe/IPVanish (Paramount+ - DAZN Canada)
* IPVanish (Peacock)

### Dependencies ###

Selenium webdriver, i.e.:

``` apt-get install chromium-driver ```

``` pip3 install selenium ```

``` pip3 install chromedriver-py ```

Pyshadow is now required due to the 'shadowroot' interface obfuscating some elements. This is easier than using Selenium's newly introduced 'shadow_root' attribute:

```pip3 install pyshadow```

Might require a stealthier version of chromedriver or seleniumwire in the future.

### To do ###

- Fix missing services
- Try stealth, headers and cookies with seleniumwire, requestium