Page 1 of 1
Get Value From site
Posted: Sat Nov 09, 2019 7:08 am
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
Re: Get Value From site
Posted: Sat Nov 09, 2019 7:46 am
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.
Re: Get Value From site
Posted: Sat Nov 09, 2019 8:56 am
by suaiiaus
tanks for reply
I'm not good at programming if you can explain more
tanks
Re: Get Value From site
Posted: Mon Nov 11, 2019 6:22 am
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
Re: Get Value From site
Posted: Mon Nov 11, 2019 11:13 am
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.
Re: Get Value From site
Posted: Mon Nov 11, 2019 11:47 am
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