podlove / radiator

Podcast Hosting & Publishing | The spark ✨ that lights the fire 🔥
MIT License
125 stars 14 forks source link

Importer must have a User Agent when accessing remote files #87

Closed eteubert closed 5 years ago

eteubert commented 5 years ago

Since it's downloading episodes and other files it should be something easily identifyable as a bot so tracking software can exclude it. I suggest including "bot" as it's often already filtered out by default.

Maybe "Podlove Radiator Import Bot"? Or something more creative? :)

monkeydom commented 5 years ago

Ah. The metalove metadata scraping identifies itself as

defp headers do
  [{"User-Agent", "metalove/#{Metalove.version()}"}]
end

Maybe RadiatorImportBot/1.0 (https://github.com/podlove/radiator) ?

eteubert commented 5 years ago

Ah that's good, I only saw the enclosure sideloader. I like your suggestion. Including the github reference seems like good practice.