Spaces:
Build error
Build error
Commit
·
ac28d89
1
Parent(s):
da44638
fix
Browse files- README.md +16 -1
- hf_scrapper.py +1 -1
- templates/{player.html → film_player.html} +0 -0
- templates/{tv_page.html → films.html} +0 -0
- templates/tv.html +0 -0
- templates/tv_player.html +0 -0
- templates/tvshow_page.html +0 -0
README.md
CHANGED
|
@@ -9,4 +9,19 @@ app_file: app.py
|
|
| 9 |
pinned: false
|
| 10 |
---
|
| 11 |
|
| 12 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
pinned: false
|
| 10 |
---
|
| 11 |
|
| 12 |
+
|
| 13 |
+
## Scripts
|
| 14 |
+
|
| 15 |
+
### app.py -> main script that run flask server
|
| 16 |
+
### hf_scrapper.py -> script for interacting with huggingface
|
| 17 |
+
### indexer.py script to index the repo structure
|
| 18 |
+
|
| 19 |
+
## Templates
|
| 20 |
+
|
| 21 |
+
### index.html -> display few movies and few shows
|
| 22 |
+
### films.html -> browse all movies
|
| 23 |
+
### tv.html ->browse all tv shows
|
| 24 |
+
### film_page.html -> film details page
|
| 25 |
+
### tvshow_page -> tv show details , seasons , episodes page
|
| 26 |
+
### film_player.html -> film player page
|
| 27 |
+
### tv_player.html -> tv show player page
|
hf_scrapper.py
CHANGED
|
@@ -12,7 +12,7 @@ def get_system_proxies():
|
|
| 12 |
print("System proxies:", proxies)
|
| 13 |
return {
|
| 14 |
"http": proxies.get("http"),
|
| 15 |
-
"https": proxies.get("
|
| 16 |
}
|
| 17 |
except Exception as e:
|
| 18 |
print(f"Error getting system proxies: {e}")
|
|
|
|
| 12 |
print("System proxies:", proxies)
|
| 13 |
return {
|
| 14 |
"http": proxies.get("http"),
|
| 15 |
+
"https": proxies.get("http")
|
| 16 |
}
|
| 17 |
except Exception as e:
|
| 18 |
print(f"Error getting system proxies: {e}")
|
templates/{player.html → film_player.html}
RENAMED
|
File without changes
|
templates/{tv_page.html → films.html}
RENAMED
|
File without changes
|
templates/tv.html
ADDED
|
File without changes
|
templates/tv_player.html
ADDED
|
File without changes
|
templates/tvshow_page.html
ADDED
|
File without changes
|