Spaces:
Running
Running
Hashir Kashif
commited on
Commit
·
3878f5e
1
Parent(s):
684e38a
asdasdasdasasdasd
Browse files
app.py
CHANGED
@@ -140,7 +140,10 @@ def getNetflixInfo(cookiefile):
|
|
140 |
billingDate = " "
|
141 |
planName = soup.find("div", {"data-uia": "plan-name"})
|
142 |
print(planName)
|
143 |
-
|
|
|
|
|
|
|
144 |
billingDate = GoogleTranslator(source='auto',
|
145 |
target='en').translate(billingDate)
|
146 |
try:
|
|
|
140 |
billingDate = " "
|
141 |
planName = soup.find("div", {"data-uia": "plan-name"})
|
142 |
print(planName)
|
143 |
+
try:
|
144 |
+
planName = planName.get_text()
|
145 |
+
except:
|
146 |
+
planName = ""
|
147 |
billingDate = GoogleTranslator(source='auto',
|
148 |
target='en').translate(billingDate)
|
149 |
try:
|