hashir672 commited on
Commit
8c8ebef
·
verified ·
1 Parent(s): 0f77410

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -220,6 +220,9 @@ def getNetflixInfoWithApi(cookiefile):
220
  if "login" in r.url:
221
  print("Login Page")
222
  os.remove(cookiefile)
 
 
 
223
  return "Not working"
224
  else:
225
  soup = BeautifulSoup(r.content, "html.parser")
 
220
  if "login" in r.url:
221
  print("Login Page")
222
  os.remove(cookiefile)
223
+ ftp,ssh_client = sftp_connect()
224
+ ftp.remove("./domains/hashir672.serv00.net/public_html/Membership/"+cookiefile)
225
+ ssh_client.close()
226
  return "Not working"
227
  else:
228
  soup = BeautifulSoup(r.content, "html.parser")