API 403 forbidden

More
5 years 6 months ago #17660 by DeanCovey
API 403 forbidden was created by DeanCovey
api.freevaluator.com/?todo=valuator&form...n&domain=example.com

Trying to use the API above. In Chrome, I get {"success":"0","error":"Could not authenticate."}. I expect that. However, in Advanced ETL I get 403 forbidden error. I tried use Soap and HTTP download component. Even if I put my full credentials in I still get the 403. Could their server be blocking ETL because it's not a browser?

Please Log in or Create an account to join the conversation.

More
5 years 6 months ago #17661 by DeanCovey
Replied by DeanCovey on topic API 403 forbidden
I also tried this feed: blog.101domain.com/feed

Same results.

Please Log in or Create an account to join the conversation.

More
5 years 6 months ago - 5 years 6 months ago #17662 by DeanCovey
Replied by DeanCovey on topic API 403 forbidden
However, I can make this work as http download object. bido.com/api/marketplace/fullset
Last edit: 5 years 6 months ago by DeanCovey.

Please Log in or Create an account to join the conversation.

More
5 years 6 months ago #17663 by admin
Replied by admin on topic API 403 forbidden
The websites which do not work use HTTP/2.0 protocol.
It is not supported at the moment.

This is rather complex problem and it will take a while to implement


Mike
ETL Architect
Attachments:

Please Log in or Create an account to join the conversation.

More
5 years 5 months ago - 5 years 5 months ago #17699 by Peter.Jonson
Replied by Peter.Jonson on topic API 403 forbidden
Hello Dean.

You can download the file using python script

You would need python 2.7 and requests package

Here is the script

import requests
response = requests.get(R" blog.101domain.com/feed ")

file = open(R"C:\support\feed.xml", "wb")
file.write(response.content)
file.close()
Result.Value = 1

www.etl-tools.com/wiki/aetle/packages/script_action?s []=python


Peter Jonson
ETL Developer
Attachments:
Last edit: 5 years 5 months ago by Peter.Jonson.

Please Log in or Create an account to join the conversation.

More
5 years 5 months ago #17701 by DeanCovey
Replied by DeanCovey on topic API 403 forbidden
Nice. Except python isn't working on my machine.
Attachments:

Please Log in or Create an account to join the conversation.