Git Product home page Git Product logo

bdjobs-scraper's Introduction

bdjobs-scraper's People

Contributors

aryan3212 avatar

Stargazers

 avatar

Watchers

 avatar

bdjobs-scraper's Issues

Add `job_details_id` to the outputted data

Why?

  • Jobs in BDjobs usually have a 30 day active period. We want to filter out duplicate results that we get onto our data. For now, we can just add the ID for the jobs.

How?

  • Parse from the link or page and add to the dictionary that is generated.

Enhancements:

  • Append unique jobs only to the CSV when running the script over days

Add tests

What tests?

  • Is the script properly parsing the details page.
  • Is it getting all the links from a list.
  • Is it getting all the jobs including the last page?

How?

  • Fetch the html for a page from BDJobs, it should be both the list and details page.
  • Grab those files from disk and run the parser on them.
  • Write down the expected result(test fixtures) and use the logic from the script to see if the results match.

How are they gonna help?

  • When BDJobs changes their page structure these tests will fail, then we can modify the code and retest. Tests would not and should not change in this case.
  • Will help build the CI/CD workflow when making extra changes.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.