manolomartinez / greg

A command-line podcast aggregator
GNU General Public License v3.0
297 stars 37 forks source link

Add user-agent header for downloads #75

Closed bcongdon closed 1 year ago

bcongdon commented 7 years ago

I noticed that for some podcast hosts, downloads would be refused without a valid User-Agent header set.

This PR adds a generic User-Agent header to the downloader.

I also edited the import path in bin/greg, as it appears that greg.gregparser isn't a module.