Post to add with Python, I am missing a component? #1313
-
Hi I was able to put a basic Python script with the points and helps from @pirate however this script fails to actually submit the url. I do not see Archivebox grabbing the contents of the url, but I see a "200" response. I think either the headers are missing something or the data is wrong. I am wondering if I could get some tips on it. I reverse engineered the browser extension payload, but I am not experienced in this stuff. I originally tried the Flask server route Pirate recommended but I was not able to figure out how to do post scheduling since I want to actually pass a file with urls in it, and posting multiple urls was overwhelming the Flask server I think.
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Add a trailing slash to the |
Beta Was this translation helpful? Give feedback.
Add a trailing slash to the
url
. The server is redirecting and 301 redirects change the method from POST -> GET.