Server script to extract info from html files


Server script to extract info from html files--this should be a very quick turnaround\r\n\r\nWe need a server script to read HTML files (& css), extract data from them, and call an API with extracted data.\r\n\r\nWe will be creating HTML files. The html files will appear in a preselected directory in our server.\r\n\r\nWe are open to suggestions on what language to implement this.\r\n\r\nEvery 30 seconds we need a program to notice new files (i.e. [url removed, login to view]), read the file, and parse it. The html file will contain comments, within the comments might be text segments that look like this:\r\n\r\[url removed, login to view]\r\nbegin file\r\nHTML0\r\nHTML0.1\r\n\r\nHTML0.2\r\n\r\n\r\nHTML1\r\nHTML2\r\nend of file\r\n\r\nWe need the program to read this file create a parameter list that will be used to call addWidMaster():\r\nwid=xyz // name of html file\r\nHTML=all the content // the left overs\r\nCSS= contents of [url removed, login to view] // read the CSS file separately and put it here\r\ntestwid= {\r\n \"message\": \"This is a test SMS\",\r\n \"metadata\" : \"{\"status\": 1, \"method\": \"acctDTO\"}\r\n \"gojs\": \"{ what we are talking about end of testwid}\r\n }\r\n // the \'inside\' of the testwid\r\ntestwid22={\r\n \"message\": \"This is a test SMS\",\r\n \"metadata\" : \"{\"status\": 1, \"method\": \"acctDTO\"}\r\n \"gojs\": \"{ what we are talking end of wid22}\"\r\n }\r\n // the \'inside\' of the testwid22\r\n...repeat for all the {} sections id you find them\r\n\r\nThen with the result call a put call in this form:\r\nPUT [url removed, login to view] {parameter list gathered above in parameter DTO format see below} you will get a result back from API in data model format.\r\n\r\nAdd the results of the API call \'raw\' to the bottom of HTML\r\n\r\nbelow HTML2\r\n\r\n\r\nParameterDTO format:\r\n[{\"ParameterName\":\"exampleCreator\",\"ParameterValue\":\"eq:cody\"},{\"ParameterName\":\"examplePrice\",\"ParameterValue\":\"eq:$[url removed, login to view]\"}]\r\n\r\nDataModel format:\r\n[{\"Key\":\"exampledatawid1\",\"Value\":\"val1}\"},{\"Key\":\"exampledatawid6\",\"Value\":\"val2\"}]

Skills: Javascript, Python, Shell Script

See more: html info, python look for file, list get python, for look with key python, python: get data, parse an html, key value model, from api, find files in directory, create an api with python, extract javascript, javascript html parse, python html javascript, python parse text, python parse directory, python html script, python extract, extract css, javascript html css python, parse data file python, python create file, parse html javascript, python api server, python file create, Find Info

About the Employer:
( 1 review ) Plano, United States

Project ID: #4888227

8 freelancers are bidding on average $118 for this job


I am experienced with html page data extraction from pyton i can help you out on this. Check pmb for further questions. Kindest regards, Arthur

$147 USD in 4 days
(53 Reviews)

Hi, I am scraping expert, More details in PM.

$263 USD in 3 days
(33 Reviews)

We can help!

$190 USD in 3 days
(13 Reviews)

Interested here

$35 USD in 1 day
(2 Reviews)

I'll finish it with perl. Thank you!

$34 USD in 2 days
(1 Review)

Hi, I'm really interested in this project. I've already done few projects similiar to this (crawlers, etc.). I would prefer to do it in perl, but shell is also an option.

$30 USD in 2 days
(0 Reviews)

Hi I am interrested in doing this project

$100 USD in 3 days
(0 Reviews)

Hi, We have expert in-house team of Python programmers. Please check private message.

$144 USD in 4 days
(0 Reviews)