1. 2
  1.  

    1. 1

      ah the joy of multiple query string leading to the same place.

      1. 2

        In this case, youtu.be is a known url shortener. I think best practice would be to always submit the full url, not the bit.ly or goo.gl or t.co or whatever version.

        1. 1

          I did submit the youtu.be link

          http://youtu.be/_P9HqHVPeik

          which is different than the original

          https://www.youtube.com/watch?v=_P9HqHVPeik

        2. 1

          could derefence a link (follow HTTP redirects) and then parse the link rel=“canonical” tag on the page returned in order to do dupe detection like this in the future

          1. 1

            A simpler option, although a less generic one, would be to look at whether it’s either youtube.com or youtu.be, and then if the video id matches — duplicate.