Article 6E9SE [curl] downloads only part of a html-page

[curl] downloads only part of a html-page

by
Michael Uplawski
from LinuxQuestions.org on (#6E9SE)
Good morning
Code:curl https://www.meteociel.fr/previsions-arome/22133/saint_patrice_du_desert.htm > test2.htmldownloads a page with a table of weather data, but the table is cut off before the last two rows. Friday and Saturday are omitted.

Apart from the fact that there is a full moon symbol in the initial cell for Thursday (i Jeudi i / Jeu), I cannot see in which way this row were special and contained anything imposing that the table be closed here (</table>).

For your convenience, again the URL of the page in question:
https://www.meteociel.fr/previsions/..._du_desert.htm

The problem persists for some time, usually only one row of the table is missing at the end. Today I feel lucky with two missing rows, and believe the fact could help to find the glitch.

My script is extracting only the table and showing the dry data in w3m, but the error occurs with curl already. It looks like the two lowest table-rows are not even fetched (or not even delivered to curl).

Thank you for any hint.
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments