Omnibus commited on
Commit
890ba8c
·
verified ·
1 Parent(s): 6d131e5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -62,7 +62,10 @@ def find_all(url):
62
  #rawp = compress_data(c,purpose,task,out,result)
63
  #result += rawp
64
  rawp=out
65
- return True, rawp
 
 
 
66
  else:
67
  print('passing')
68
  return False, "Enter Valid URL"
 
62
  #rawp = compress_data(c,purpose,task,out,result)
63
  #result += rawp
64
  rawp=out
65
+ return True, rawp
66
+ else:
67
+
68
+ return False, f'Status:: {source.status_code}'
69
  else:
70
  print('passing')
71
  return False, "Enter Valid URL"