Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notice other versions of the same page #208

Open
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

Jaimepas77
Copy link
Contributor

Fixes #193

This PR changes the way pages are searched so that it can find multiple versions of the same page. Therefore, every time a page is searched, every possible platform is checked even if a previous valid one was found. If more than one page is found, the next platform in the priority list is noticed to the user.

It doesn't search in every page if the platform was determined by the user parameters.

The PR implements this specification.

Bugs: it wont find multiple versions of the page if the cache only contains one of them. As it's much faster to search on the cache, this bug was not resolved.

tldr.py Outdated Show resolved Hide resolved
tldr.py Outdated Show resolved Hide resolved
@MasterOdin MasterOdin removed their request for review January 30, 2024 16:27
@vitorhcl
Copy link
Member

I ran black on the script

@vitorhcl
Copy link
Member

I reverted black formatting to not conflict with other PRs for now. We can maybe run it in another PR

@vitorhcl vitorhcl requested review from owenvoke and kbdharun and removed request for kbdharun February 23, 2024 13:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Show notice about another similar pages
3 participants