Omnibus commited on
Commit
26fd880
1 Parent(s): 6cfa95b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -1,15 +1,14 @@
1
  import gradio as gr
2
  import requests
3
  import xmltodict
 
4
  import json
5
 
6
 
7
 
8
 
9
  def get_rss(rss_url):
10
-
11
  r = requests.get(f'{rss_url}')
12
-
13
  if ".json" in rss_url:
14
  lod = json.loads(r.text)
15
  if ".xml" in rss_url:
 
1
  import gradio as gr
2
  import requests
3
  import xmltodict
4
+ import bs4
5
  import json
6
 
7
 
8
 
9
 
10
  def get_rss(rss_url):
 
11
  r = requests.get(f'{rss_url}')
 
12
  if ".json" in rss_url:
13
  lod = json.loads(r.text)
14
  if ".xml" in rss_url: