You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you import a thumbnail via HTML5AppNode(..., thumbnail='.jpg?itok=8gl2hL7q2'); the thumbnail file is rejected, and the crawler crashes with a ricecooker.exceptions.InvalidNodeException: Invalid node (ThumbnailFile must have one of the following extensions: ['jpg', 'jpeg', 'png'].
This means that importing arbitary URLs isn't a reasonable approach; it should probably succeed (it is probably a jpg file after all) or fail non-fatally.
What I Did
File "/data/py35/lib/python3.5/site-packages/ricecooker/classes/nodes.py", line 195, in validate_tree
assert child.validate_tree()
File "/data/py35/lib/python3.5/site-packages/ricecooker/classes/nodes.py", line 193, in validate_tree
self.validate()
File "/data/py35/lib/python3.5/site-packages/ricecooker/classes/nodes.py", line 701, in validate
raise InvalidNodeException("Invalid node ({}): {} - {}".format(ae.args[0], self.title, self.__dict__))
The text was updated successfully, but these errors were encountered:
Description
If you import a thumbnail via
HTML5AppNode(..., thumbnail='.jpg?itok=8gl2hL7q2')
; the thumbnail file is rejected, and the crawler crashes with a ricecooker.exceptions.InvalidNodeException: Invalid node (ThumbnailFile must have one of the following extensions: ['jpg', 'jpeg', 'png'].This means that importing arbitary URLs isn't a reasonable approach; it should probably succeed (it is probably a jpg file after all) or fail non-fatally.
What I Did
The text was updated successfully, but these errors were encountered: