Giter Club home page Giter Club logo

cfp-scraper's Introduction

CFP-Scraper

This is web scraper that powers cfpcalendar.com.

Data is collected from various sources and written to Airtable.

Running it for yourself

Things you'll need:

  1. Airtable account
  2. Twitter account
  3. Python 3 + virtualenv

Pre-reqs

Airtable

  1. Once you've created an Airtable account, use this link to copy the template Base to your own workspace.

  2. From https://airtable.com/account generate your API key and make a note of this. This will be your AIRTABLE_API_KEY.

  3. Go to https://airtable.com/api and select your base (the one to which you copied the source one in step 1 above). The URL you go to will look like https://airtable.com/appXXXXXXYYYYY/api/docs - make a note of the appXXXXXXYYYYY. This will be your AIRTABLE_BASE_KEY

Twitter

Create yourself API keys from https://developer.twitter.com/en/apps.

Set up Python virtualenv

The easiest way to run this is in isolation, using virtualenv.

  1. Clone the git repo

     git clone [email protected]:coderanger/cfp-scraper.git
    
  2. Create virtualenv

     cd cfp-scraper
     virtualenv --python=python3 .
     source ./bin/activate.fish
    

    (Use the activate script appropriate for your shell)

  3. Install required modules

     pip install -r requirements.txt
    

Run cfp-scraper

  • Activate the virtualenv

      source ./bin/activate.fish
    

    (Use the activate script appropriate for your shell)

  • Based on the credentials obtained above, run:

      export TWITTER_CONSUMER_KEY=xxxxxx
      export TWITTER_CONSUMER_SECRET=xxxxxx
      export TWITTER_ACCESS_KEY=xxxxxx
      export TWITTER_ACCESS_SECRET=xxxxxx
    
      export AIRTABLE_API_KEY=xxxxxx
      export AIRTABLE_BASE_KEY=xxxxxx
    
  • Launch:

      python main.py
    

cfp-scraper's People

Contributors

coderanger avatar

Watchers

 avatar

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.