Giter Site home page Giter Site logo

bulletinexplorer_v2's Introduction

BulletinExplorer_v2

This project is designed for NTUST students, providing Telegram users with the ability to subscribe to topics. It uses web scraping to gather information from various university websites.

Table of Contents

Packages and Tools

  • git
  • python==3.8.10
  • docker==26.1.4

Install

1. Clone the repository

$ https://github.com/hhjjy/BulletinExplorer_v2.git

(You must have Git installed, you can install it via sudo apt update && sudo apt install git if not already installed.)

2. Navigate to the cloned directory

$ cd BulletinExplorer_v2

3. Run setup script

$ pip install -r requirements.txt

Usage

1. build postgres docker

$ ./run.sh  

2. run main function

$ python3 main.py

Debug

1. build postgres docker

  • To get into docker container.

    docker exec -it postgres-main bash
  • Run mydb_schema.sql

    psql -U admin -d mydb -f /docker-entrypoint-initdb.d/mydb_schema.sql
  • Get into psql, and use 12345 to log in.

    psql -h 127.0.0.1 -p 5432 -U admin -d mydb
  • Show all tables \dt.

bulletinexplorer_v2's People

Contributors

hhjjy avatar cycl0n3-ga avatar

Stargazers

 avatar

Watchers

 avatar

bulletinexplorer_v2's Issues

BUG: Markdown cannot contain special characters like - without throwing errors

Problem Description

Currently, when using special characters like - within Markdown, it results in parsing errors and exceptions being thrown.

Example

The following code causes an error when using special characters like -:

await context.bot.send_message(chat_id="940229605", text=f"[{i.title}]({i.url})", parse_mode=ParseMode.MARKDOWN_V2)

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.