Skip to content

Commit efa4e0f

Browse files
Add TMDB API key instructions to README.md (Arrowar#442)
* Add TMDB API key instructions to README.md
1 parent 73f47d0 commit efa4e0f

File tree

3 files changed

+44
-25
lines changed

3 files changed

+44
-25
lines changed

.github/.domain/domains.json

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"cb01new": {
3-
"domain": "cfd",
4-
"full_url": "https://cb01net.cfd/",
5-
"old_domain": "cam",
6-
"time_change": "2025-11-17 20:24:59"
3+
"domain": "top",
4+
"full_url": "https://cb01net.top/",
5+
"old_domain": "baby",
6+
"time_change": "2026-01-06 07:10:40"
77
},
88
"animeunity": {
99
"domain": "so",
@@ -18,10 +18,10 @@
1818
"time_change": "2025-03-21 12:20:27"
1919
},
2020
"guardaserie": {
21-
"domain": "wtf",
22-
"full_url": "https://guardaserietv.wtf/",
23-
"old_domain": "wiki",
24-
"time_change": "2025-11-17 19:16:53"
21+
"domain": "asia",
22+
"full_url": "https://guardaserietv.asia/",
23+
"old_domain": "club",
24+
"time_change": "2025-12-11 19:07:15"
2525
},
2626
"streamingwatch": {
2727
"domain": "org",
@@ -30,21 +30,21 @@
3030
"time_change": "2025-04-29 12:30:30"
3131
},
3232
"altadefinizione": {
33-
"domain": "shop",
34-
"full_url": "https://altadefinizionegratis.shop/",
35-
"old_domain": "news",
36-
"time_change": "2025-11-18 07:21:01"
33+
"domain": "lol",
34+
"full_url": "https://altadefinizionegratis.lol/",
35+
"old_domain": "shop",
36+
"time_change": "2025-11-25 07:06:57"
3737
},
3838
"streamingcommunity": {
39-
"domain": "dk",
40-
"full_url": "https://streamingcommunityz.dk/",
41-
"old_domain": "bet",
42-
"time_change": "2025-11-17 15:24:22"
39+
"domain": "forex",
40+
"full_url": "https://streamingcommunityz.forex/",
41+
"old_domain": "dog",
42+
"time_change": "2026-01-06 09:09:29"
4343
},
4444
"altadefinizionegratis": {
45-
"domain": "shop",
46-
"full_url": "https://altadefinizionegratis.shop/",
47-
"old_domain": "news",
48-
"time_change": "2025-11-18 07:21:03"
45+
"domain": "lol",
46+
"full_url": "https://altadefinizionegratis.lol/",
47+
"old_domain": "shop",
48+
"time_change": "2025-11-25 07:06:59"
4949
}
5050
}

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,15 @@ python test_run.py
7575
# Linux/MacOS
7676
python3 test_run.py
7777
```
78+
---
79+
80+
## TMDB API Key required
81+
To enable search features, you need to obtain a TMDB API key:
82+
1. Sign up at [The Movie Database (TMDB)](https://developer.themoviedb.org/docs/getting-started)
83+
2. Navigate to your account settings and find the API section
84+
3. Generate a new API key
85+
4. Add the API key to your .env file (inside the StreamingCommunity directory) under the `TMDB_API_KEY` variable or insert it when required during execution
86+
7887

7988
---
8089

StreamingCommunity/run.py

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,7 @@ def force_exit():
278278
print("Uscita forzata con os._exit(0)")
279279
os._exit(0)
280280

281+
281282
def check_env_file():
282283
required_keys = ['TMDB_API_KEY']
283284

@@ -286,16 +287,25 @@ def check_env_file():
286287
console.print("\n[red]Please create a .env file in the current directory with the necessary configurations.")
287288

288289
for key in required_keys:
290+
console.print(f"\n[yellow]To get your {key}:[/yellow]")
291+
console.print(f"[cyan]1. Go to: https://www.themoviedb.org/settings/api/request")
292+
console.print(f"[cyan]2. Register or log in to your account")
293+
console.print(f"[cyan]3. Create an API request and copy your API key\n[/cyan]")
294+
289295
while True:
290296
value = console.input(f"[cyan]Please enter the value for [bold]{key}[/bold]: [/cyan]").strip()
291-
292-
with open(env_path, 'a') as f:
293-
f.write(f"{key}={value}\n")
294-
console.print(f"[green]{key} added to .env file.[/green]")
295-
break
297+
298+
if value:
299+
with open(env_path, 'a') as f:
300+
f.write(f"{key}={value}\n")
301+
console.print(f"[green]{key} added to .env file.[/green]")
302+
break
303+
else:
304+
console.print(f"[red]Error: {key} cannot be empty. Please try again.[/red]")
296305

297306
console.print("\n[green].env file created successfully. Please restart the application.[/green]")
298307

308+
299309
def check_dns():
300310
"""Check DNS configuration and exit if required."""
301311
if BYPASS_DNS:

0 commit comments

Comments
 (0)