Coder Social home page Coder Social logo

Comments (10)

manolomartinez avatar manolomartinez commented on May 28, 2024

Hi, yes, that podcast is defective in that it doesn't carry information about enclosure types, which greg relies on.

In the development-main branch, I have introduced a new notype option for greg.conf. The idea would be to have a section in this file with

[HelloInternet]

notype = yes

This would instruct greg to skip checking for type and simply download all enclosures. Would you mind installing greg from the development branch, and let me know if that works for you?

Manolo

from greg.

FilipBB avatar FilipBB commented on May 28, 2024

Wouldn't the ignoreenclosures flag work?

Sent with AquaMail for Android
http://www.aqua-mail.com

On July 16, 2015 7:44:04 PM manolomartinez [email protected] wrote:

Hi, yes, that podcast is defective in that it doesn't carry information
about enclosure types, which greg relies on.

In the development-main branch, I have introduced a new notype option
for greg.conf. The idea would be to have a section in this file with

[HelloInternet]

notype = yes

This would instruct greg to skip checking for type and simply download all
enclosures. Would you mind installing greg from the development branch, and
let me know if that works for you?

Manolo


Reply to this email directly or view it on GitHub:
#31 (comment)

from greg.

manolomartinez avatar manolomartinez commented on May 28, 2024

Wouldn't the ignoreenclosures flag work?

Ha, I hoped it might :) In fact it's a different way for a feed to be defective. The ignoreenclosures option is there to deal with feeds with no enclosures. This new issue is about feeds which enclosures, but no enclosure types.

I think the new notype option will help greg overcome this problem, but defective feeds are, admittedly, a bit of a wild goose chase. Perhaps at some point I will need to figure out a way for greg to expose all of the info parsed by feedparser, so that corner cases can be dealt with.

from greg.

githuq avatar githuq commented on May 28, 2024

manolomartinez [email protected] writes:

I think the new notype option will help greg overcome this problem,
but defective feeds are, admittedly, a bit of a wild goose chase.
Perhaps at some point I will need to figure out a way for greg to
expose all of the info parsed by feedparser, so that corner cases
can be dealt with.

The 'notype' options sounds like it would do the trick. I'll try it out
and get back to you.

Maybe you could introduce an option 'workarounds' or 'handledefects'
that is list-valued? The two possible entries for the list as of now
would be 'ignoreenclosures' and 'notype'. More can be added in the
future to follow the goose whereever it goes.

My proposal is not fundamentally different from what is in greg now, but
it allows one to call these things what they are: defects.

from greg.

manolomartinez avatar manolomartinez commented on May 28, 2024

Maybe you could introduce an option 'workarounds' or 'handledefects' that is list-valued? The two possible entries for the list as of now would be 'ignoreenclosures' and 'notype'. More can be added in the future to follow the goose whereever it goes.

My proposal is not fundamentally different from what is in greg now, but it allows one to call these things what they are: defects.

:) yep, defective feeds are frustrating. I don't know about adding a workarounds option, but perhaps it would be good to clearly separate bona-fide options and workaround options in greg.conf. I'll think about that, thanks!

M

from greg.

githuq avatar githuq commented on May 28, 2024

I just had a look at the 'notype' option in the development-main
branch. It does the trick and I can download the episodes from Hello
Internet. Thanks for the quick patch.

from greg.

manolomartinez avatar manolomartinez commented on May 28, 2024

Sorry, I somehow missed your last message. Thanks for testing it. Closing for now.

from greg.

 avatar commented on May 28, 2024

FYI, it's not just Hello Internet, but it's largely any podcast hosted on SquareSpace. They have malformed podcast feeds and fixing them doesn't seem to be of high priority. Which is a pity.

from greg.

manolomartinez avatar manolomartinez commented on May 28, 2024

Ugh. Thanks for the heads up. That reminds me that, at least, I should make greg recommend adding the notype option to the feed conf when this problem arises.

from greg.

 avatar commented on May 28, 2024

Sounds like a good plan.

from greg.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.