Skip to content

how to fetch / save youtube api response automatically? #1911

@coolguruji

Description

@coolguruji

Hi,

I have installed it in my webserver. Two small projects are working on it.
But i want to use it in a big project. I will to make a free php script that will be using your OSS server to get data in json. I know how to do that!

http://www.opensearchserver.com/documentation/faq/parsing/how_to_parse_YouTube_URLs_and_extract_data.md

But what i dont know is, right now if i want to fetch data from youtube via API and save it into the index. Then i need to do it manually. After that searching for that keyword my crawler gets data from the index.
Now the question is, How can we set a parameter in which if crawler dont find any data in index then it will call the YouTube API and grab the data from there.
That work should be automated like a cache program does. I cant fetch each and every new search term myself.

Is that possible?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions