janw / letterboxd-rss Goto Github PK
View Code? Open in Web Editor NEWConvert your Letterboxd Watchlist to an RSS feed.
License: Apache License 2.0
Convert your Letterboxd Watchlist to an RSS feed.
License: Apache License 2.0
Found a total of 1 movies
Traceback (most recent call last):
File "/home/j/.pyenv/versions/letterboxd-rss/bin/letterboxd-rss", line 5, in <module>
from letterboxd_rss.__main__ import main
File "/home/j/.pyenv/versions/letterboxd-rss/lib/python3.10/site-packages/letterboxd_rss/__main__.py", line 32, in <module>
main(sys.argv[1:])
File "/home/j/.pyenv/versions/letterboxd-rss/lib/python3.10/site-packages/letterboxd_rss/__main__.py", line 29, in main
process(args)
File "/home/j/.pyenv/versions/letterboxd-rss/lib/python3.10/site-packages/letterboxd_rss/__init__.py", line 48, in process
last_page = soup.find_all("li", attrs={"class": "paginate-page"})[-1].text
IndexError: list index out of range
PR submitted here:
#4
If you are open to it, I think it would be relatively easy to add a pytest
suite to this library + I can submit a PR for that separately
Having dash between the words confuses windows and docker when trying to call the script
Hi! I've been trying to use your watchlist2rss.py file but i get the following error when it grabs a title with apostrophes:
Adding 28 movies from page 1
Woman at War (2018)
Keep an Eye Out (2018)
Possibly in Michigan (1983)
Minding the Gap (2018)
Trust (2018)
Parsing failed
Traceback (most recent call last):
File "watchlist2rss.py", line 77, in
main()
File "watchlist2rss.py", line 62, in main
movie_description = movie_description.text.strip()
AttributeError: 'NoneType' object has no attribute 'text'
In that case it seems to fail on the movie: "Avant qu'on explose"
Tried it on a list with no french titles and it worked fine.
Link: https://letterboxd.com/jimmyblux/watchlist/
Thanks for your help!
Jobebo
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.