Metadata-Version: 2.4
Name: live-stream-thief
Version: 0.1.1
Summary: Extract clean livestream URLs from istreameast.cx, bypassing ad-heavy pages
License: MIT
Requires-Python: >=3.14
Requires-Dist: beautifulsoup4>=4.14.3
Requires-Dist: requests>=2.34.2
Requires-Dist: rich>=15.0.0
Description-Content-Type: text/markdown

# live-stream-thief
- [中文用户请看这里](./README-CN.md)

<video
		src="https://github.com/user-attachments/assets/ad3d3dde-2c26-4da6-82a3-66d64aa685c6"
		controls
		poster="https://github.com/jsycdut/photos/blob/master/cr7.png?raw=true"
		width="100%"
		height="100%"
/>

[StreamEast](https://streameaste.cc/) is great，it provides NBA, MLB，F1 and so many other games with high quality livestream watch experience, but too many ads in it!!! Every time I click the live stream page, like fullscreen, volumes up and down, it bumps to a new ads page before it really works, which really really drives me mad.

this project is simple, it extracts the pure working livestream url from the ads-surronded original web page.
All you need to do is: run the code, get the url and open it in your browser, enjoy it!

NOTICE: the parsed urls may contain ads too, but it seems only appears once when you click the play button first time.

## usage
make sure you know what [uv](https://docs.astral.sh/uv/) is, run the code as below.
```bash
➜  ~ use uv to install live-stream-thief
➜  ~ uv tool install live-stream-thief
.......
Installed 1 executable: live-stream-thief
➜  ~ # filter the game you want, soccer nba f1 wwe ....
➜  ~ live-stream-thief soccer
Soccer Lincoln Red Imps vs Inter Club d'Escaldes 12 hours from now
------------
Soccer Ararat-Armenia vs Riga FC 12 hours from now
------------
Soccer Kauno Žalgiris vs Drita 12 hours from now
------------
Soccer Sabah Baku vs The New Saints 12 hours from now
------------
Soccer Argentina vs Egypt 12 hours from now
source1 ==> https://embed.st/embed/admin/ppv-argentina-vs-egypt/1
source2 ==> https://embed.st/embed/admin/ppv-argentina-vs-egypt/3
source3 ==> https://embed.st/embed/admin/ppv-argentina-vs-egypt/5
source4 ==> https://embed.st/embed/golf/23585/1


➜  ~ # or see all the games available
➜  ~ live-stream-thief 
WNBA New York Liberty vs Dallas Wings 20 hours from now
source1 ==> https://embed.st/embed/admin/ppv-dallas-wings-vs-new-york-liberty/1
------------
WNBA Phoenix Mercury vs Chicago Sky 22 hours from now
source1 ==> https://embed.st/embed/admin/ppv-chicago-sky-vs-phoenix-mercury/1
------------
Soccer Víkingur Reykjavík vs Győri ETO 15 hours from now
------------
Soccer Switzerland vs Colombia 16 hours from now
source1 ==> https://embed.st/embed/admin/ppv-switzerland-vs-colombia/1
source2 ==> https://embed.st/embed/admin/ppv-switzerland-vs-colombia/3
source3 ==> https://embed.st/embed/admin/ppv-switzerland-vs-colombia/5
source4 ==> https://embed.st/embed/golf/23586/1
------------
MLB Baltimore Orioles vs Chicago Cubs 1 day from now
source1 ==> https://embed.st/embed/admin/ppv-chicago-cubs-vs-baltimore-orioles/1
source2 ==> https://embed.st/embed/golf/23621/1
------------
MLB Pittsburgh Pirates vs Atlanta Braves 1 day from now
source1 ==> https://embed.st/embed/admin/ppv-atlanta-braves-vs-pittsburgh-pirates/1
source2 ==> https://embed.st/embed/golf/23623/1
------------
MLB Tampa Bay Rays vs New York Yankees 1 day from now
source1 ==> https://embed.st/embed/admin/ppv-new-york-yankees-vs-tampa-bay-rays/1
source2 ==> https://embed.st/embed/golf/23624/1
```

* other free game live website
- [vip row](https://www.viprow.co/)
- [stream2watch](https://stream2watch.tv/basketball/)
