На этом сайте есть файл xls, который на самом деле является файлом xml: https://www.bom.mu/markets/foreign-exchange/fx-dealt?field_dealing_date_value%5Bvalue%5D%5Bdate%5D=01-01-2010 Вы можете получить его, нажав на вторую кнопку xls. Как я могу получить данные: Rs / USD, Rs / EUR, Rs / GBP и Всего покупок (в долларах США) и Всего продаж (в долларах США) за каждую дату?
Спасибо.
пример:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<body>
<table>
<thead><tr><th></th><th></th></tr></thead>
<tbody> <tr class="odd"><td>FOREIGN EXCHANGE MARKET: <b>Friday, 14 February 2020</b></td><td> <p>Transactions above USD20,000 or equivalent in other currencies as reported by banks and Foreign Exchange Dealers: </p>
<div class="table-responsive">
<table class="views-table cols-3 table table-hover table-striped">
<thead>
<tr>
<th class="views-field"></th>
<th class="views-field">Weighted Dealt Rates</th>
<th class="views-field"></th>
</tr>
</thead>
<tbody>
<tr class="odd views-row-first">
<td class="views-field"></td>
<td class="views-field">Buying</td>
<td class="views-field">Selling</td>
</tr>
<tr class="odd views-row-first">
<td class="views-field">Rs/USD</td>
<td class="views-field">37.2313</td>
<td class="views-field">37.4248</td>
</tr>
<tr class="even">
<td class="views-field">Rs/EUR</td>
<td class="views-field">40.2937</td>
<td class="views-field">40.5857</td>
</tr>
<tr class="odd views-row-first">
<td class="views-field">Rs/GBP</td>
<td class="views-field">48.5692</td>
<td class="views-field">48.8421</td>
</tr>
</tbody>
</table>
<table class="views-table cols-3 table table-hover table-striped table-amount-dealt">
<thead>
<tr>
<th class="views-field"></th>
<th class="views-field"></th>
<th class="views-field">Amount (USD Equivalent)</th>
</tr>
</thead>
<tbody>
<tr class="odd views-row-first">
<td class="views-field">Total Purchases</td>
<td class="views-field"></td>
<td class="views-field">18,969,525</td>
</tr>
<tr class="odd views-row-first">
<td class="views-field">(out of which forward purchases)</td>
<td class="views-field"></td>
<td class="views-field">895,278</td>
</tr>
<tr class="even">
<td class="views-field">Total Sales</td>
<td class="views-field"></td>
<td class="views-field">16,465,160</td>
</tr>
<tr class="odd">
<td class="views-field">(out of which forward sales)</td>
<td class="views-field"></td>
<td class="views-field">636,701</td>
</tr>
</tbody>
</table>