Skip to content
This repository has been archived by the owner on Nov 11, 2019. It is now read-only.

fetch from a date range #15

Open
codersquid opened this issue Jul 10, 2014 · 2 comments
Open

fetch from a date range #15

codersquid opened this issue Jul 10, 2014 · 2 comments

Comments

@codersquid
Copy link
Contributor

I'd like to be able to specify a date range when I fetch videos.

@codersquid
Copy link
Contributor Author

I work around this a little bit by doing the equiv of find and rm.

rm `ack-grep 'recorded": "2012' -l | xargs`

@willkg
Copy link
Member

willkg commented Jul 13, 2014

So the problem with date ranges is that steve picks up something and then decides that it's the recorded time. But in most cases, it's not the recorded time--it's the published time.

Because of that disconnect, I'm not sure how useful this would be and I think there are a lot of edge cases where it fails.

However, I do think that "steve-cmd fetch ..." should have more options. Maybe we could allow you to specify criteria it fetches on and also give it a --test option (or something like that) where it doesn't actually save the files, but it does list them all so you can figure out what criteria to apply.

We could solve this a different way, too. We could rework the fetch code so that it's a library function and it returns an array of data. Then you could write your own script that calls the fetch function and only saves what you're interested in saving. That gives you a lot more flexibility without us writing and maintaining a lot of steve code.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants