linkedtales / scrapedin

LinkedIn Scraper (currently working 2020)
Apache License 2.0
599 stars 174 forks source link

Documentation is out of sync #139

Open fakegermano opened 4 years ago

fakegermano commented 4 years ago

The doc page for the result of the scrape is out of sync with the format the scraped results have:

The main difference is the recommendations attribute:

    recommendations: {
      { given: [ { user, text } ], givenCount, 
        received: [ { user, text } ], receivedCount }

There are some other minor differences, like fields that are not mentioned but are there.

One other minor detail is the behavior when the attribute is set to be a list but there exist only one item. The list gets discarded and scrapedin returns a single object instead of a list of one object.

This all is from the 1.0.21 version installed from npm directly.