Add the download button and the open button to download or open profile picture and media in the posts, stories, and highlights in Instagram
< Commentaires sur Instagram Download Button
I'd recommend to make the following changes to work on "/reel/" urls:
const postIdPattern = /^\/(p|reel)\/([^/]+)\//;
const postUrlPattern = /instagram\.com\/(p|reel)\/[\w-]+\//;
Correction, only:
const postUrlPattern = /instagram\.com\/(p|reel)\/[\w-]+\//;
I'd recommend to make the following changes to work on "/reel/" urls:
const postIdPattern = /^\/(p|reel)\/([^/]+)\//;
const postUrlPattern = /instagram\.com\/(p|reel)\/[\w-]+\//;