Giter Club home page Giter Club logo

lagou-bot's Introduction

Lagou Bot

This is a scrapy based bot that will scrape lagou.com for real-time jobs matching specific criteria, then alert you in Slack.

This will let you quickly see the best new jobs at the first time. You can adjust the settings to change your job name keywords and cities.

How It Looks

screenshot

Settings

Look in settings.py for a full list of all the configuration options. Here's a high level overview:

  • CITY_NAMES -- the city of the jobs you want to look in
  • JOB_NAMES -- the subsection of Craigslist housing that you want to look in.
  • SLACK_CHANNEL -- the Slack channel you want the bot to post in.

External Setup

Before using this bot, you'll need a Slack team, a channel for the bot to post into, and a Slack API key:

  • Create a Slack team, which you can do here.
  • Create a channel for the jobs to be posted into. Here's help on this.
  • Get a Slack API token, which you can do here. Here's more information on the process.

Configuration

  • Create a file called private.py in this folder.
    • Add a value called SLACK_TOKEN that contains your Slack API token. See 'private.py.example' for example.
    • Add any other values you want to private.py.

Installation + Usage

  • Install Python 3 and other required package.
  • Install the Python requirements with pip3 install -r requirements.txt.
  • Update proxies.json with python3 proxies.py.
  • Run the program with python main_loop.py. Results will be posted to your channel if successful.

lagou-bot's People

Contributors

zkffkah avatar

Watchers

 avatar  avatar

Forkers

scutmason

lagou-bot's Issues

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.