Copy content from webpages and save to xml.
Budget: €30 – €250 EUR
Script want to run from my webserver.
I want to save at file(.txt) some links. Script will read all links from .txt and copy the content from pages.
From each page content i want to take specifically fields. i want these fields to save at an xml.
Every page include a listing and want to take the fields eg. price, category, title, description and other fields.
I will help about the fields.
Also want to save the link of photos.
After that have to save all fields and links to an xml.
eg. of xml
<?xml version="1.0" encoding="utf-8"?>
<dealer>
<lastupdate>2022-05-07T23:55:06Z</lastupdate>
<classifieds>
<classified>
<year>1990</year>
<month>4</month>
<power>106</power>
<engine>1800</engine>
<mileage>117000</mileage>
<fuel>diesel</fuel>
<condition>used</condition>
<photos>
<photo>https://www.zanta.gr/files/02-2022/ad413728/mercedes-benz-clk-200-2005-avantgarde-458355831_large.webp</photo>
<photo>https://www.zanta.gr/files/02-2022/ad413728/mercedes-benz-clk-200-2005-avantgarde-22215348_large.webp</photo>
</photos>
</classified>
<classified>
<year>1991</year>
<month>5</month>
<power>107</power>
<engine>1600</engine>
<mileage>118000</mileage>
<fuel>petrol</fuel>
<condition>used</condition>
<photos>
<photo>https://www.zanta.gr/files/02-2022/ad413728/mercedes-benz-clk-200-2005-avantgarde-575055653_large.webp</photo>
</photos>
</classified>
</classifieds>
</dealer>
Every <classified>...</classified> will contain the fields of one page and xml will end when copy all links of .txt
I want to save at file(.txt) some links. Script will read all links from .txt and copy the content from pages.
From each page content i want to take specifically fields. i want these fields to save at an xml.
Every page include a listing and want to take the fields eg. price, category, title, description and other fields.
I will help about the fields.
Also want to save the link of photos.
After that have to save all fields and links to an xml.
eg. of xml
<?xml version="1.0" encoding="utf-8"?>
<dealer>
<lastupdate>2022-05-07T23:55:06Z</lastupdate>
<classifieds>
<classified>
<year>1990</year>
<month>4</month>
<power>106</power>
<engine>1800</engine>
<mileage>117000</mileage>
<fuel>diesel</fuel>
<condition>used</condition>
<photos>
<photo>https://www.zanta.gr/files/02-2022/ad413728/mercedes-benz-clk-200-2005-avantgarde-458355831_large.webp</photo>
<photo>https://www.zanta.gr/files/02-2022/ad413728/mercedes-benz-clk-200-2005-avantgarde-22215348_large.webp</photo>
</photos>
</classified>
<classified>
<year>1991</year>
<month>5</month>
<power>107</power>
<engine>1600</engine>
<mileage>118000</mileage>
<fuel>petrol</fuel>
<condition>used</condition>
<photos>
<photo>https://www.zanta.gr/files/02-2022/ad413728/mercedes-benz-clk-200-2005-avantgarde-575055653_large.webp</photo>
</photos>
</classified>
</classifieds>
</dealer>
Every <classified>...</classified> will contain the fields of one page and xml will end when copy all links of .txt