tldr-python-client icon indicating copy to clipboard operation
tldr-python-client copied to clipboard

Notice other versions of the same page

Open Jaimepas77 opened this issue 2 years ago • 2 comments

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.

Jaimepas77 avatar Jan 25 '23 20:01 Jaimepas77

I ran black on the script

vitorhcl avatar Feb 23 '24 12:02 vitorhcl

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

vitorhcl avatar Feb 23 '24 13:02 vitorhcl