Skip to content

Improve Wikipedia Command#600

Merged
Senjan21 merged 6 commits into
python-discord:masterfrom
Shivansh-007:feature/improve-wiki
Mar 1, 2021
Merged

Improve Wikipedia Command#600
Senjan21 merged 6 commits into
python-discord:masterfrom
Shivansh-007:feature/improve-wiki

Conversation

@Shivansh-007
Copy link
Copy Markdown
Contributor

Relevant Issues

Closes #565

Description

This has been implemented with help of aiohttp to request and get json data of the Wikipedia Article. It then filters the data and stores only the required information namely Title, Snippet and Page ID. This filtered data to the Line Paginator.

Reasoning

Approved by Staff Member.

Screenshots

No Result Found

Screenshot from 2021-02-22 20-35-51

Results Found

Screenshot from 2021-02-22 20-30-28

1 Result Found

Screenshot from 2021-02-22 20-32-13

Did you:

@Shivansh-007 Shivansh-007 changed the title Feature/improve wiki Improve Wikipedia Command Feb 22, 2021
@Xithrius Xithrius added area: frontend Related to output and formatting season: evergreen status: needs review Author is waiting for someone to review and approve type: enhancement Changes or improvements to existing features labels Feb 23, 2021
Copy link
Copy Markdown
Contributor

@RohanJnr RohanJnr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just picked up some stuff just by glancing through the code, haven't tested a lot yet, will do that soon

Comment thread bot/exts/evergreen/wikipedia.py Outdated
Comment thread bot/exts/evergreen/wikipedia.py Outdated
Comment thread bot/exts/evergreen/wikipedia.py Outdated
Comment thread bot/exts/evergreen/wikipedia.py Outdated
Comment thread bot/exts/evergreen/wikipedia.py Outdated
Comment thread bot/exts/evergreen/wikipedia.py Outdated
@RohanJnr RohanJnr added status: waiting for author Waiting for author to address a review or respond to a comment and removed status: needs review Author is waiting for someone to review and approve labels Feb 24, 2021
… '\' for long variable values, pass in ctx.channel instead of the full ctx
Copy link
Copy Markdown
Contributor

@Senjan21 Senjan21 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks.

@Senjan21 Senjan21 merged commit 09c371e into python-discord:master Mar 1, 2021
@Shivansh-007 Shivansh-007 deleted the feature/improve-wiki branch March 1, 2021 16:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: frontend Related to output and formatting status: waiting for author Waiting for author to address a review or respond to a comment type: enhancement Changes or improvements to existing features

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve Wikipedia Command.

4 participants