Allow POST requests

This commit is contained in:
2021-09-08 20:43:21 +02:00
parent 71d9c7a027
commit 06e0ada95b
4 changed files with 15 additions and 9 deletions

View File

@@ -276,7 +276,7 @@ def FeedFetch(url, options):
delay = 0
try:
req = crawler.adv_get(url=url, follow=('rss' if not options.items else None), delay=delay, timeout=TIMEOUT * 2)
req = crawler.adv_get(url=url, post=options.post, follow=('rss' if not options.items else None), delay=delay, timeout=TIMEOUT * 2)
except (IOError, HTTPException):
raise MorssException('Error downloading feed')