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

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

Open
coolguruji opened this issue Jun 2, 2018 · 1 comment
Open

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

coolguruji opened this issue Jun 2, 2018 · 1 comment

Comments

@coolguruji
Copy link

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?

@coolguruji
Copy link
Author

Is this search server dead?

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

1 participant