I am trying to get videos(urls) from feed entry url.
I am using Feedjira and MetaInspector in my application to fetch and store articles along with images. Now I want to store videos of articles if any. Can anyone please tell me what could be the best possible ways to store videos from articles
Thank you.
I do this in my project to save all the url found from rss feeds
in my snippet, I only save the url and title, for videos you just need to add
entry.video
,you can see all the entry tag from
feed.entries
object or from the rss given.and If you want to add another attributes, ex:
media:thumbnail
you could add this code before callingfetch_and_parse
but you need to call it once not everytime you callfetch_and_parse
to avoid memory leakthen you could do
entry.pic
to get the thumbnail url