Uploaded image for project: 'MusicBrainz Server'
  1. MusicBrainz Server
  2. MBS-10309

Update URL cleanup for musik-sammler.de

    XMLWordPrintable

    Details

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

      Description

      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-]+)(?:[\/?#].*)?$
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Packages

                Version Package
                2020-01-06