Skip to content

ShDmytros/Wikipedia_Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wikipedia Parser Bot

Bot that works with own parsing method

Description

A Telegram bot that parses Wikipedia articles using the Python library parsel and returns relevant information to the user.

The bot allows users to quickly access facts, text excerpts, or article structure via Telegram without opening a web browser.

Technologies

  • Python 3.12+

  • pyTelegramBotAPI (TeleBot) — for Telegram interactions

  • requests — for making HTTP requests to Wikipedia

  • parsel — for parsing HTML using XPath/CSS selectors

  • Docker — for isolated deployment

Features

  • Retrieve Wikipedia article content by keyword

  • Extract headings, paragraphs, and links using parsel

  • Quick information search via Telegram

  • Runs in a Docker container for easy deployment

  • Have English and Ukrainian languages

About

Bot that works with own parsing method

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors