Update URL cleanup for musik-sammler.de

XMLWordPrintable

    • Type: Improvement
    • Resolution: Done
    • Priority: Normal
    • 2020-01-06
    • Affects Version/s: None
    • Component/s: URL cleanup
    • None

      Currently URLs like 

      https://www.musik-sammler.de/album/terrorgruppe-melodien-f%C3%BCr-milliarden-56725/

      are not standardised. IMHO friendly name parts should be removed. 

      Current regexp:

      ^(?:https?:\/\/)?(?:www\.)?musik-sammler\.de\/(album|artist|media)\/([0-9a-z-]+)(?:[\/?#].*)?$
      

      After some quick tests this one seems to work better:

      ^(?:https?:\/\/)?(?:www\.)?musik-sammler\.de\/(album|artist|media)\/(?:[^/]+-(?=[\d+\/]))?([0-9a-z-]+)(?:[\/?#].*)?$
      

            Assignee:
            Sotho Tal Ker
            Reporter:
            chaban
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package
                2020-01-06