Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Instagram URL Extractor failing for Linux-4.14.177-104.253.amzn2.x86_64-x86_64-with-glibc2.2.5 #25763
Comments
|
@remitamine what additional information can I provide you to help reproduce and mark this as not incomplete? |
Checklist
Verbose log
Description
I have an AWS Lambda function that handles downloading my videos. There is something wrong specifically for Instagram videos and the
outtmplattribute in Python for Linux-4.14.177-104.253.amzn2.x86_64-x86_64-with-glibc2.2.5.Basically, locally running the script I can get YouTube, Vimeo, and Instagram Videos to all work.
In Production on AWS Lambda, I previously could get all 3 to work. Now Instagram videos fail with the error
ERROR: Unable to extract video url;. Since this works fine with YouTube and Vimeo, I suspect there is a niche edge case with the latest update for the Amazon Linux Kernel that is breaking when trying to extract an Instagram URL.Attaching my code so you can see deeper what I mean.
URL that work Locally and Production: https://www.youtube.com/watch?v=JVM49MXcCWQ
URL that works Locally but NOT Production: https://www.instagram.com/p/B7_RmlfHIh1/
The logs linked show YouTube successfully working and Instagram Failing
youtube-dl-logs.pdf
This is a text file of my python program running in Lambda. Note there are differences in prod vs development because Lambda only lets you write to
/tmp.youtube_downloader.txt