diff --git a/README.md b/README.md index c6c9a3f..0cc2184 100644 --- a/README.md +++ b/README.md @@ -7,5 +7,15 @@ automatically buy all free accessories on roblox ```bash pip install -r requirements.txt ``` +## Cookies +You need to manually place your roblox cookie in cookie.txt, watch a video of how to get your roblox cookies if you don't know how. + + +[![Roblox Cookies tutorial](https://img.youtube.com/vi/tuXr8O9nxkQ/0.jpg)](https://www.youtube.com/watch?v=tuXr8O9nxkQ) + +## Be patient and enjoy +This script will take a bit to buy all the free itmes on roblox as rate limiters exists so expect it to finish in an hour at minimum if you want to buy all the items. + +# Console Showcase +![](https://i.imgur.com/o8yeFpS.png) -![](https://i.imgur.com/o8yeFpS.png) \ No newline at end of file diff --git a/cookie.txt b/cookie.txt index e69de29..d3f5a12 100644 --- a/cookie.txt +++ b/cookie.txt @@ -0,0 +1 @@ + diff --git a/main.py b/main.py index 6386bd0..f89e950 100644 --- a/main.py +++ b/main.py @@ -1,10 +1,17 @@ + + import pathlib import time - import requests from rich.console import Console -cookie = pathlib.Path("cookie.txt").read_text().strip() +# Specify the path to the parent directory +cookie_path = pathlib.Path(__file__).parent / "cookie.txt" + +if not cookie_path.exists(): + raise FileNotFoundError("cookie.txt file not found in the parent directory. Please ensure it's there.") + +cookie = cookie_path.read_text().strip() session = requests.Session() session.cookies.update({".ROBLOSECURITY": cookie})