From 6c70d62b7690afdabffa2bfbe1d7b125bbb75533 Mon Sep 17 00:00:00 2001 From: UrloMythus Date: Sat, 6 Jul 2024 23:00:11 +0200 Subject: [PATCH] added git ignore --- .gitignore | 1 + __pycache__/filmpertutti.cpython-311.pyc | Bin 11088 -> 11002 bytes filmpertutti.py | 1 - requirements.txt | 2 +- run.py | 2 +- 5 files changed, 3 insertions(+), 3 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4c49bd7 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.env diff --git a/__pycache__/filmpertutti.cpython-311.pyc b/__pycache__/filmpertutti.cpython-311.pyc index 47bd78311d1b83b5bd370d8298242b0a34a15252..428209ebbf7d59655d27fa10a819f2ba83a6e428 100644 GIT binary patch delta 226 zcmcZ*_A8WkIWI340}y;!(V3>ck++ARNrrjyI(eDNJ9zmgALH+1HK=8)VVfK;C_cGB zAaU|v0aZqx$;yJk%)BXllPd+48TlvA71S0KSjNb}uo{RVAVqNUO~H6}p&H)V3@JjB z?S%|kh0__=h)gaOQe_mKJX^?>-Ka(&m_bu)@^hg-n|}y*F)}Wm+$m8LmFo7) R{0fZx9~j_-%jEA`kpN|nLKy%6 delta 280 zcmewrdLfK=IWI340}#xe*O^whk++AR&4ZbNVLHR)ivr@4B_sqUALH+1cdKQqVOzj5 zSy4uGa)ChNaB$Qzvt!$qDjn*<(r))c^DasHU~)QGcq=AZjgS)#MrtyT~3UJaq{Lmr7J9qi#7+V U+cWbkGV*_5fD>+$7ivWU06Gg%zW@LL diff --git a/filmpertutti.py b/filmpertutti.py index 512e809..0f29ab1 100644 --- a/filmpertutti.py +++ b/filmpertutti.py @@ -92,7 +92,6 @@ def search(query,date): href = link['href'] #replace base url for easier scraping href = href.replace('definizionealta.com', f'filmpertutti.{DOMAIN}') - href = href.replace('definizionealta.com', 'filmpertutti.casino') #Get the correct serie by checking if the date is equals series_response = requests.get(href, headers=headers) series_soup = BeautifulSoup(series_response.text, 'html.parser') diff --git a/requirements.txt b/requirements.txt index 36b91ca..3875c69 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ bs4 tmdbv3api dateparser -dotenv +python-dotenv flask diff --git a/run.py b/run.py index 4a3f214..59df1e4 100644 --- a/run.py +++ b/run.py @@ -28,7 +28,7 @@ def addon_manifest(): def addon_stream(type, id): if type not in MANIFEST['types']: abort(404) - + url = get_stream_link(id) # call the function to dynamically get stream links