Skip to content

when using scraper (/workspaces/NLWeb/code/scraping/incrementalCrawlAndLoad.py) having issues when josn-ld is in a @graph #257

Description

@genericrobot77

I have had success using this code on json-ld that is flat (not in a @graph), when I now point it at a list of URLs that all have json-ld graph it is failing 100%.

is this a known issue?

Example page json-ld:

from
https://www.healthdirect.gov.au/australian-health-services/healthcare-service/edensor-park-2176-nsw/synergy-health-and-wellbeing/chiropractor/7f905784-5624-f98d-cd6f-d366bbac67c1

{"@context":"https://schema.org","@graph":[{"@type":"MedicalOrganization","location":{"@type":"Place","address":{"@type":"PostalAddress","streetAddress":"249 Edensor Road","addressLocality":"EDENSOR PARK","addressRegion":"NSW","postalCode":"2176","addressCountry":"AUS"}},"medicalSpecialty":[{"@type":"MedicalSpecialty","name":"Chiropractor"}],"additionalProperty":[{"@type":"PropertyValue","name":"Free Parking","value":true},{"@type":"PropertyValue","name":"Wheelchair Access","value":true},{"@type":"PropertyValue","name":"Mixed Billing","value":true}],"name":"Synergy Health and Wellbeing","url":"https://www.healthdirect.gov.au/australian-health-services/healthcare-service/edensor-park-2176-nsw/synergy-health-and-wellbeing/chiropractor/7f905784-5624-f98d-cd6f-d366bbac67c1","@id":"https://www.healthdirect.gov.au/australian-health-services/healthcare-service/edensor-park-2176-nsw/synergy-health-and-wellbeing/chiropractor/7f905784-5624-f98d-cd6f-d366bbac67c1","ContactPoint":[{"@type":"ContactPoint","telephone":"02 9822 0588","contactType":"work"},{"@type":"ContactPoint","url":"http://synergyclinic.net/services/","contactType":"work"}]},{"@type":"Place","@id":"https://www.healthdirect.gov.au/australian-health-services/healthcare-service/edensor-park-2176-nsw/synergy-health-and-wellbeing/chiropractor/7f905784-5624-f98d-cd6f-d366bbac67c1","openingHoursSpecification":[{"@type":"OpeningHoursSpecification","dayOfWeek":"monday","opens":"09:00:00","closes":"19:30:00"},{"@type":"OpeningHoursSpecification","dayOfWeek":"wednesday","opens":"09:00:00","closes":"19:30:00"},{"@type":"OpeningHoursSpecification","dayOfWeek":"thursday","opens":"16:00:00","closes":"19:30:00"},{"@type":"OpeningHoursSpecification","dayOfWeek":"friday","opens":"09:00:00","closes":"19:30:00"},{"@type":"OpeningHoursSpecification","dayOfWeek":"saturday","opens":"07:30:00","closes":"10:00:00"}]}]}

CHeers

Josh A

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions