Skip to content

AISdb marinetraffic scraper not working #81

@guillermodangelo

Description

@guillermodangelo

The scraper of marinetraffic.com data by MMSI codes is not working, giving timeout error even when I can see that the MMSI exists in the Gecko driver, using the DEBUG variable set to "1".

Steps to reproduce the behavior:

import os
from aisdb.webdata.marinetraffic import VesselInfo
os.environ["DEBUG"] = "1"
output_db_filepath = 'PATH TO SQLITE DB FILE'

mmsi = [
    372351000,
    373416000,
    477003800,
    477282400,
    477519900,
    477593700,
    477831200,
    477864000,
    477905000,
    563626000,
    565715000
]

scrapper = VesselInfo(output_db_filepath)
scrapper.vessel_info_callback(mmsi)
  • OS: Windows 11
  • Gecko driver
  • Using pip virtual environment and the last version of AISdb
  • Python 3.12.3

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestwontfixThis will not be worked on

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions