Unlisted Vimeo links consist of the video ID and an additional hash: https://vimeo.com/[video_id]/[unlisted_hash]. More information about unlisted Vimeo links can be found here.
The problematic links I'm encountering are unlisted links with an additional URL parameter. Those are created when simply pressing the "share" button on an unlisted video's player.
Parsing the following link https://vimeo.com/12345678/abcdefg?share=copy returns
Unlisted Vimeo links consist of the video ID and an additional hash:
https://vimeo.com/[video_id]/[unlisted_hash]
. More information about unlisted Vimeo links can be found here.The problematic links I'm encountering are unlisted links with an additional URL parameter. Those are created when simply pressing the "share" button on an unlisted video's player.
Parsing the following link
https://vimeo.com/12345678/abcdefg?share=copy
returnsWhile parsing
https://vimeo.com/12345678/abcdefg
returnsSolution: URL param and hash should probably be merged so that both are kept.
Expected return for
https://vimeo.com/12345678/abcdefg?share=copy