This commit is contained in:
Dan Dembinski
2020-03-09 15:58:26 -04:00
parent 9abe918906
commit 32fd101e5a
2 changed files with 32 additions and 33 deletions

View File

@@ -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()