Commits

Anonymous committed 0f957d4

Fixes for new showrss site.

Comments (0)

Files changed (1)

 from watchedli import WatchedLi
 
 
-BASE_URL = 'http://showrss.karmorra.info/?cs=feeds'
-FEED_URL = 'http://showrss.karmorra.info/feeds/%s.rss'
+BASE_URL = 'http://showrss.info/?cs=feeds'
+FEED_URL = 'http://showrss.info/feeds/%s.rss'
 CFG_DIR = os.path.expandvars('$HOME/.shores')
 
 CACHE_FILE = os.path.join(CFG_DIR, 'cache')
         return result
     for option in bsoup(inputFP)('option'):
         optContents = ''.join(option.contents)
-        optValue = option['value']
-        if optValue.isnumeric():
-            result.append({optContents: optValue})
+        try:
+            optValue = option['value']
+            if optValue.isnumeric():
+                result.append({optContents: optValue})
+        except KeyError:
+            pass
     inputFP.close()
     return result