Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert from Instagram TV post #279

Open
avhgaray opened this issue Jun 17, 2020 · 1 comment
Open

Convert from Instagram TV post #279

avhgaray opened this issue Jun 17, 2020 · 1 comment

Comments

@avhgaray
Copy link

Instagram TV posts are not parsed correctly

For example:
https://www.instagram.com/tv/B4SQ6qAn1IS

@oreyne
Copy link

oreyne commented Sep 11, 2020

I solved changing the line 154 in InstagramTransformPass::getShortcodeAndUrl function to this new regular expression:
preg_match('&(*UTF8)instagram.com/(p|tv)/([^/]+)/?&i', $href, $matches). This library support only posts (/p/). You can add /tv/ for IGTV

m4olivei added a commit that referenced this issue Aug 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants