Hello,
I am using GPT-4o API to generate lesson plans using YouTube videos or external articles.
My prompt is working fine with external article URLs. But for YouTube links, I can’t figure out the issue. I am also facing something weird:
- When I put the URL received from YT search results, the OpenAI response is fine. These links contain the
pp
parameter.
Example:https://www.youtube.com/watch?v=t5DvF5OVr1Y&pp=ygUMY2VsbCBiaW9sb2d5
- When I put a regular YT URL, the OpenAI response is random. It parses a random YT video. Does not work.
Example:https://www.youtube.com/watch?v=t5DvF5OVr1Y
Why is the full URL with the pp
paramter working only?
Any help on this? Thank you in advance.