Spaces:
Paused
Paused
Update filmpertutti.py
Browse files- filmpertutti.py +2 -1
filmpertutti.py
CHANGED
|
@@ -77,7 +77,8 @@ def get_mamma(tmbda,ismovie):
|
|
| 77 |
return showname,date
|
| 78 |
|
| 79 |
def search(query,date):
|
| 80 |
-
|
|
|
|
| 81 |
print(response.text)
|
| 82 |
print("HERE IT ENDS RESPONSE")
|
| 83 |
soup = BeautifulSoup(response.text, 'html.parser')
|
|
|
|
| 77 |
return showname,date
|
| 78 |
|
| 79 |
def search(query,date):
|
| 80 |
+
scraper = cloudscraper.create_scraper()
|
| 81 |
+
response= scraper.get(query, headers=headers)
|
| 82 |
print(response.text)
|
| 83 |
print("HERE IT ENDS RESPONSE")
|
| 84 |
soup = BeautifulSoup(response.text, 'html.parser')
|