postlight / parser

📜 Extract meaningful content from the chaos of a web page
https://reader.postlight.com
Apache License 2.0
5.4k stars 442 forks source link

feat: Ladbible.com extractor #624

Closed nitinthewiz closed 3 years ago

nitinthewiz commented 3 years ago

Adding an extractor for (LADBible)[https://www.ladbible.com/]

Testing run here -

 PASS  src/extractors/custom/www.ladbible.com/index.test.js
  WwwLadbibleComExtractor
    initial test case
      ✓ is selected properly (1ms)
      ✓ returns the title
      ✓ returns the author
      ✓ returns the date_published
      ✓ returns the lead_image_url (1ms)
      ✓ returns the content (1ms)

Test Suites: 1 passed, 1 total
Tests:       6 passed, 6 total
Snapshots:   0 total
Time:        3.636s
Ran all test suites matching /www.ladbible.com/i.

Active Filters: filename /www.ladbible.com/
 › Press c to clear filters.

Watch Usage
 › Press a to run all tests.
 › Press f to run only failed tests.
 › Press o to only run tests related to changed files.
 › Press q to quit watch mode.
 › Press t to filter by a test name regex pattern.
 › Press p to filter by a filename regex pattern.
 › Press Enter to trigger a test run.

✨  Done in 10.63s.
JadTermsani commented 3 years ago

@nitinthewiz included in the latest release!