Commit graph

4 commits

Author SHA1 Message Date
Kevin Raoofi
96977f803b
Allow : or # for claim_id
This removes the code for trying multiple patterns and the setup for it

Added a few unit tests to check that the parsed URL is as expected
2020-11-21 22:32:48 -05:00
Kevin Raoofi
23cffdc066
Added support for spec compliant URL parsing
Legacy URLs are preserved by attempting to parse the new URL format and,
on failing that, it'll attempt the legacy one.

Tests had to be updated such that the correct things are asserted
against each other.
2020-11-21 22:32:38 -05:00
Victor Shyba
f14004e56b update url regex to cases tom reported 2020-02-09 17:55:29 -05:00
Lex Berezhny
2968f74c6c moved lbry up one level 2020-01-01 15:57:56 -05:00
Renamed from lbry/lbry/schema/url.py (Browse further)