Tweaks
This commit is contained in:
@@ -18,10 +18,9 @@ def feedImport ():
|
||||
|
||||
#checks to see if the podcast URL already exists for logged in user and skips it if it has already been imported.
|
||||
# payload = '''{"userid" : 1, "newURL": "''' + str(url) + '''"}'''
|
||||
r = requests.post(API_URL+'/addFeed', json={"userID" : 1, "newURL" : url})
|
||||
r = requests.post(API_URL+'/addFeed/', json={"userID" : 1, "newURL" : url})
|
||||
print(r.text)
|
||||
# print(payload)
|
||||
break
|
||||
y=y+1
|
||||
|
||||
feedImport()
|
||||
feedImport()
|
||||
|
||||
Reference in New Issue
Block a user