HTTP Request to Trading view ( Not via API)

Hello All!! My goal will be update in a Excel table the current prices of some Stocks from Trading view.

My idea is … try to extract the current prices of Trading view stocks via Http request (Via API I have to upgrade my account).
When I use HTTP request module , the http request give me a lot of html data, so how can I extract the information that I need?

Here the link where we can see the stock table:

Thanks!

Welcome to the Make community!

Usually that means you are calling the API incorrectly, or do not have permission to call the API.

1. Screenshots of errors, module fields and filters

Please share screenshots of errors, and relevant module fields and filters in question? It would really help other community members to see what you’re looking at.

You can upload images here using the Upload icon in the text editor:
Screenshot_2023-10-07_111039

2. Scenario blueprint

Please export the scenario blueprint file to allow others to view the mappings and settings. At the bottom of the scenario editor, you can click on the three dots to find the Export Blueprint menu item.

Screenshot_2023-08-24_230826
(Note: Exporting your scenario will not include private information or keys to your connections)

Uploading it here will look like this:

blueprint.json (12.3 KB)

3. And most importantly, Output bundles

Please provide the output bundles of the modules by running the scenario, then click the white speech bubble on the top-right of each module and select “Download output bundles”.
Screenshot_2023-10-06_141025

A.

Save the bundle contents in your text editor as a bundle.txt file, and upload it here into this discussion thread.

Uploading it here will look like this:

bundle.txt (12.3 KB)

B.

If you are unable to upload files on this forum, alternatively you can paste the formatted output bundle in this manner:

  • Either add three backticks ``` before and after the code, like this:

    ```
    input/output bundle content goes here
    ```

  • Or use the format code button in the editor:
    Screenshot_2023-10-02_191027

Providing the output bundles will allow others to replicate what is going on in the scenario even if they do not use the external service.

Following these steps will allow others to assist you here. Thanks!

2 Likes

Thanks for contributing:
But my question is more theorical to know how to request via HTTP a complex html code without API. How to parse the html on the make.ia platform.

Yes, as I mentioned on the initial topic I dont have access to call trading view API because I need to pay.

At the moment I dont have any error.

I attach the BluePrint:

blueprint.json (8.3 KB)

And I attach the bundle in json format because I cannot uplodad the txt ( If i put the code I exceed the characters limit).

bundle.json (276.1 KB)

Thanks!!

Ah I see, you could have said that you want to scrape the webpage.

Then you could use an app that does web scraping, like ScrapeNinja and ScrapingBee, because they help you extract elements on the page using CSS selectors.

2 Likes