Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.

Get Value From site

Post Reply
suaiiaus
Posts: 4
Joined: Tue Oct 15, 2019 5:47 pm

Get Value From site

Post by suaiiaus »

hi salvador
please help me how do get value from this site and save to excel file??

http://www.tsetmc.com/Loader.aspx?ParTr ... 5610365786

or this site

http://www.tsetmc.com/Loader.aspx?ParTree=15131F


tanks
User avatar
salvadordf
Posts: 4016
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: Get Value From site

Post by salvadordf »

Hi,

To get any text from a web page you need to visit the DOM and find it.

There are 2 ways to do that :
  • Use a customized version of the DOMVisitor demo to find what you need and send it to the browser process with a process message.
  • Use a customized version of the JSEXtension or JSRTTIExtension demos to register a JavaScript extension. Execute a custom JavaScript code to find what you need and call your extension with the result to send it to the browser process with a process message.
Read the code comments in those demos to know more details, specially the comments in the JSEXtension demo.

Once you have the data it's easy to create a CSV file. If I remember correctly, it's just a text file with your values separated by TABs.
suaiiaus
Posts: 4
Joined: Tue Oct 15, 2019 5:47 pm

Re: Get Value From site

Post by suaiiaus »

tanks for reply

I'm not good at programming if you can explain more

tanks
suaiiaus
Posts: 4
Joined: Tue Oct 15, 2019 5:47 pm

Re: Get Value From site

Post by suaiiaus »

hi salvador

If possible write me a code or help
I will be grateful
Getting value the partial information that the arrow shows

tanks
You do not have the required permissions to view the files attached to this post.
User avatar
salvadordf
Posts: 4016
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: Get Value From site

Post by salvadordf »

suaiiaus wrote: Mon Nov 11, 2019 6:22 am If possible write me a code or help
I will be grateful
Getting value the partial information that the arrow shows
I'm sorry but I'm very busy and I can't create your application.
Please, be more specific about what things need a more detailed explanation.
suaiiaus
Posts: 4
Joined: Tue Oct 15, 2019 5:47 pm

Re: Get Value From site

Post by suaiiaus »

Only get value from this site

http://www.tsetmc.com/Loader.aspx?ParTr ... 5610365786

only java script code need for JSExtension demo

tanks
Post Reply