Coder Social home page Coder Social logo

gradcafe-crawler's Introduction

GradCafe Crawler

A telegram bot which scraps information from GradCafe site using users input

Create a bot

Create a bot using botfather Botfather

Creating a new bot Use the /newbot command to create a new bot. The BotFather will ask you for a name and username, then generate an authorization token for your new bot.

The name of your bot is displayed in contact details and elsewhere.

The Username is a short name, to be used in mentions and telegram.me links. Usernames are 5-32 characters long and are case insensitive, but may only include Latin characters, numbers, and underscores. Your bot's username must end in ‘bot’, e.g. ‘tetris_bot’ or ‘TetrisBot’.

Telegram Bot API

Generating an authorization token If your existing token is compromised or you lost it for some reason, use the /token command to generate a new one.

Use the token which is generated and place it here ==> TOKEN = ' ' in scrapy.py file

More bot commands here

Now start the bot using the below commands To start the bot : /start To stop the bot : /stop

Query syntax

<University_Name>
<University_Name> <Program_Name>
<Program_Name>

Examples

Ex : Toronto
Ex : Toronto Applied Computing
Ex : Applied Computing

Screenshots

Screenshot_1 Screenshot_2

Packages used

  • Telepot
  • regex
  • scrapy
  • urllib
  • beautifulsoup

gradcafe-crawler's People

Contributors

asishkakumanu avatar

Watchers

James Cloos avatar  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.