WikiFact

WikiFact

1
0

개요

Spits out a random fact off the Wikipedia Unusual Articles page with !factme


Use command '!factme', it give u fact

How the leprechauns and fairy magic works:

Written in Python, the algorithm accesses the web to import the Wikipedia Unusual Articles page in HTML using the requests library. The HTML data can then be parsed using the Beautiful Soup library to obtain a list of articles. This list is only generated once upon start up, not each time the bot is called. This is done to minimize bot response time. A random python function is then used to select an article. The chosen article will then be parsed one last time to obtain the title, description and link. See github repository for code.

TLDR: You get a title, description and wiki link to a random unusual wiki article.

점수 & 리뷰


1

리뷰 1개

리뷰는 등록된 사용자만 남길 수 있습니다. 모든 리뷰는 Top.gg의 사이트 중재자가 관리합니다. 게시하기 전 저희의 지침을 반드시 확인해 주세요.

별점 5점

0

별점 4점

0

별점 3점

0

별점 2점

0

별점 1점

1





Top.gg

수많은 Discord 봇 및 앱 탐색

지원

티켓 제출

쿠키 설정 관리