Parth-Vader / YoutubeDataCollector

4 stars 4 forks source link

Use the count of video to store it offline and serve it whenever opened. #3

Open Parth-Vader opened 7 years ago

Parth-Vader commented 7 years ago

This would save your bandwidth.

Suppose I watch a video 10 times in 3 days - this would be detected by a script, and the video would be downloaded and served whenever this url would be opened the next time.

aniketgattani commented 6 years ago

@Parth-Vader we can use here a service worker and cache these videos whenever necessary. I would like to contribute to this issue. Do u want it any other way ?

Parth-Vader commented 6 years ago

Not sure - this is more of a moonshot idea for me. So you can start with service worker if you want to.

aniketgattani commented 6 years ago

But this would take up a lot of cache memory and please tell me when do i need to store them and should there be some restriction ?

Parth-Vader commented 6 years ago

@aniketgattani, For now, you can just use temporary data with a youtube link - maybe in a .csv file for now, but in another issue #2 - firebase has been decided to be used. Try to download and serve one video as for now - if that's successful we can continue further. Does this sound reasonable?

aniketgattani commented 6 years ago

yeah okay so for now I will add the youtube link to the cache and then try to download it and will push a PR for the same. Plz tell me when do u want to save the video means after what checks. Also tell me if I got something wrong