Response parse error.
[1] A request was started: https://www.marinetraffic.com/en/reports?asset_type=vessels&columns=time_of_latest_position:desc,flag,shipname,photo,recognized_next_port,reported_eta,reported_destination,current_port,imo,ship_type,show_on_live_map,area,lat_of_latest_position,lon_of_latest_position&time_of_latest_position_between=60,525600&near_me=51.74190,3.89773,2
[1] A request was started: https://www.marinetraffic.com/cdn-cgi/styles/cf.errors.css
[1] undefined:1
[1]
[1] ^
[1]
[1] SyntaxError: Unexpected token '<', "... is not valid JSON
[1] at JSON.parse (
Looks like its trying to parse http as a json. Anything missed here ?
hey thanks for your report. I don't have time at the moment to look into it but Ill try to resolve this in this month :)
I'm experiencing the same issue when I try getVesselsInArea, getVesselsNearMe and getVesselsInPort. The 'last position' does work for me