Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -36,9 +36,11 @@ def find_all(url):
|
|
36 |
out = []
|
37 |
source = requests.get(url)
|
38 |
if source.status_code ==200:
|
|
|
39 |
soup = bs4.BeautifulSoup(source.content,'lxml')
|
40 |
|
41 |
rawp=(f'RAW TEXT RETURNED: {soup.text}')
|
|
|
42 |
cnt=0
|
43 |
cnt+=len(rawp)
|
44 |
out.append(rawp)
|
|
|
36 |
out = []
|
37 |
source = requests.get(url)
|
38 |
if source.status_code ==200:
|
39 |
+
print('trying')
|
40 |
soup = bs4.BeautifulSoup(source.content,'lxml')
|
41 |
|
42 |
rawp=(f'RAW TEXT RETURNED: {soup.text}')
|
43 |
+
print (rawp)
|
44 |
cnt=0
|
45 |
cnt+=len(rawp)
|
46 |
out.append(rawp)
|