Now everything runs smoothly and data is processed correctly.
I refactored the code to adapt it to the nuforc changes. I have found a way to structure the unstructured data of the stats page. Duration is now taken from the stats page.
Data should be compatible with the previous version. The only thing I changed is the formatting of the stats column.
The stat column now is pipe delimited with and separated by a colon. This is for ease of further parsing and analysis.
"Occurred:2021-08-19 18:00:00 Local|Location:Dallas, TX, USA|Shape:Unknown|Duration:2 minutes|No of observers:2|Reported:2021-08-20 12:49:56 Pacific|Posted:2021-08-20 00:00:00|Characteristics:Lights on object, Aura or haze around object, Aircraft nearby"
This commit solves several issues caused by change in page format at nuforc
I have made a fork and checked in changes to resolve all those problems.
https://github.com/valerioa/nuforc_sightings_data
Now everything runs smoothly and data is processed correctly.
I refactored the code to adapt it to the nuforc changes. I have found a way to structure the unstructured data of the stats page. Duration is now taken from the stats page.
Data should be compatible with the previous version. The only thing I changed is the formatting of the stats column.
The stat column now is pipe delimited with and separated by a colon. This is for ease of further parsing and analysis.
<field name>:<value>|<field name>:<value>|<field name>:<value>|<field name>:<value>|
example:
"Occurred:2021-08-19 18:00:00 Local|Location:Dallas, TX, USA|Shape:Unknown|Duration:2 minutes|No of observers:2|Reported:2021-08-20 12:49:56 Pacific|Posted:2021-08-20 00:00:00|Characteristics:Lights on object, Aura or haze around object, Aircraft nearby"