XMLTV / xmltv

Utilities to obtain, generate, and post-process TV listings data in XMLTV format
GNU General Public License v2.0
283 stars 93 forks source link

tv_grab_na_dtv: add zipcode as command argument? #95

Closed kevev closed 1 year ago

kevev commented 4 years ago

Is there any way to have tv_grab_na_dtv accept zipcode as command argument?

ex: tv_grab_na_dtv -z 10229

rmeden commented 4 years ago

Apps are allowed to add non-standard command line switches,  but is there a reason not to follow the normal --configure process?  It's normally only done once.

kevev commented 4 years ago

Thank You for the reply. I am wanting parse a zipcode list. I have tried creating an expect script to do this. But having issues. Now that I think of it, I don't know how command arguments could handle saying yes/no to channel selection.

rmeden commented 4 years ago

On 5/28/2020 1:01 PM, kevev wrote:

Thank You for the reply. I am wanting parse a zipcode list. I have tried creating an expect script to do this. But having issues. Now that I think of it, I don't know how command arguments could handle saying yes/no to channel selection.

Hmmm trying to get guide listings just to parse a zipcode doesn't seem like a fair load on the directtv servers.  Doesn't the USPS offer a zipcode list?  At least I think they provide an address validation API.

kevev commented 4 years ago

I am only doing this for 3 cities in my state.

rmeden commented 1 year ago

closing.. tv_grab_na_dtv removed due to site changes