Comments (6)
This is now fixed, but I need to think about the best way to sanitize strings in placeholders. Anyway, please confirm that it's now working.
Thanks,
Manolo
from greg.
That's not a placeholder, that's the title of a feed entry. Or maybe I don't know what you mean? I presume if it's getting through feedparser, it's valid? I don't think we have to worry about SQL injection or such ;-)
Seems like the 'eval' is the problem? I haven't dug into greg's call tree enough to see why eval is needed.
from greg.
If I do greg check -f tnyrh
and then greg download 17
it works just fine for me:
Downloading Episode 12: Sarah Koenig on "Serial," and a Resilient Poet -- tnyradiohour010816_cms564184_pod.mp3
Does that part work for you? Or is this error only occurring when greg is run via cron?
from greg.
It does work with newest git-tip.
from greg.
That's not a placeholder, that's the title of a feed entry. Or maybe I don't know what you mean?
I meant you get to the offending string to be eval
ed, i.e.,
"Episode" in "Episode 12: Sarah Koenig on "Serial," and a Resilient Poet"
by taking the line you have in greg.conf
(presumably something like filter = "Episode" in "{title}"
) and substituting the title of the feed entry for "{title}".
The resulting string is then evaluated to get a condition that greg uses to filter by. In the eval
step the extra pair of quotes are making greg trip up. That's what I meant by sanitizing.
from greg.
I think this is solved, right? I will close it now, but do let me know if there's anything that needs to be ironed out.
from greg.
Related Issues (20)
- tags are applied inconsistenly HOT 1
- Changed behavior of {filename_title} using spaces breaks downloading HOT 4
- Some feeds stopped downloading with v0.4.8 HOT 5
- Feature request: force remove HOT 3
- BUG: Custom date format not working HOT 1
- problems with a few podcasts since uprade from Ubuntu 16.04 to 20.04 HOT 4
- Not all feeds works, ie soundcloud feeds, it seems HOT 9
- 403 errors (uncaught) on all Pinecast-hosted feeds HOT 1
- Install on Rapsberry Pi Raspbian HOT 1
- Remove the license from the configuration file HOT 1
- Does this tool re-download deleted podcast episodes? HOT 1
- Release 0.4.9?
- Tagging subprocess is easy to break
- Add github tag: podcast-downloader
- Python type error with feeds that have bozo errors - bug fix included!!!
- feed sync error: document declared as us-ascii, but parsed as utf-8
- Download using title of spefic podcast HOT 1
- Question: How are previously downloaded podcasts recorded? HOT 8
- Not following 302 redirects HOT 1
- Unable to parse buzzsprout buffer of type audio/mpeg HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from greg.