Omnibus commited on
Commit
bbb41b6
·
verified ·
1 Parent(s): 59416a4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -11,7 +11,8 @@ def find_rss(rss_url):
11
  r = requests.get(f'{rss_url}')
12
  soup = bs4.BeautifulSoup(r.content,'lxml')
13
  for i,p in enumerate(soup.find_all("a")):
14
- json_dict[str(i)]=p
 
15
  json_box.append(json_dict)
16
  return json_box
17
 
 
11
  r = requests.get(f'{rss_url}')
12
  soup = bs4.BeautifulSoup(r.content,'lxml')
13
  for i,p in enumerate(soup.find_all("a")):
14
+ print (p['href'])
15
+ json_dict[p.text]=p
16
  json_box.append(json_dict)
17
  return json_box
18