Skip to content
This repository
Browse code

fixed problem with invalid rss arguement (not used)

  • Loading branch information...
commit a37ee7638ad71e9089db2cef13625f9a02501382 1 parent 2c6b80c
evilhero authored September 18, 2012

Showing 1 changed file with 2 additions and 6 deletions. Show diff stats Hide diff stats

  1. 8  mylar/search.py
8  mylar/search.py
@@ -74,10 +74,8 @@ def search_init(ComicName, IssueNumber, ComicYear, SeriesYear):
74 74
         if nzbprovider[nzbpr] == 'nzb.su':
75 75
         # ----
76 76
         # this is for nzb.su
77  
-            d = feedparser.parse("http://nzb.su/rss?t=7030&dl=1&i=" + str(nzbsu_APIID) + "&r=" + str(nzbsu_APIkey))
78  
-            #print ("before NZBSU rss search.")
  77
+            #d = feedparser.parse("http://nzb.su/rss?t=7030&dl=1&i=" + str(nzbsu_APIID) + "&r=" + str(nzbsu_APIkey))
79 78
             #--LATER ?search.rss_find = RSS_SEARCH(ComicName, IssueNumber)
80  
-            #print ("after..")
81 79
             #if rss_find == 0:
82 80
             nzbprov = 'nzb.su'
83 81
             findit = NZB_SEARCH(ComicName, IssueNumber, ComicYear, SeriesYear, nzbprov, nzbpr)
@@ -89,10 +87,8 @@ def search_init(ComicName, IssueNumber, ComicYear, SeriesYear):
89 87
        
90 88
         elif nzbprovider[nzbpr] == 'dognzb':
91 89
         # this is for dognzb.com
92  
-            d = feedparser.parse("http://dognzb.cr/rss.cfm?r=" + str(dognzb_APIkey) + "&t=7030&num=100")
93  
-            #print ("Before DOGNZB  RSS search")
  90
+            #d = feedparser.parse("http://dognzb.cr/rss.cfm?r=" + str(dognzb_APIkey) + "&t=7030&num=100")
94 91
             #RSS_SEARCH(ComicName, IssueNumber)
95  
-            #print (ComicName + " : " + str(IssueNumber))
96 92
             nzbprov = 'dognzb'
97 93
             findit = NZB_SEARCH(ComicName, IssueNumber, ComicYear, SeriesYear, nzbprov, nzbpr)
98 94
             if findit == 'yes':

0 notes on commit a37ee76

Please sign in to comment.
Something went wrong with that request. Please try again.