openzim / youtube

Create a ZIM file from a Youtube channel/username/playlist
GNU General Public License v3.0
46 stars 26 forks source link

Skin of colors can not be scraped anymore #66

Closed kelson42 closed 4 years ago

kelson42 commented 4 years ago

FAILED. An error occured: save() argument after ** must be a mapping, not NoneType save() argument after ** must be a mapping, not NoneType Traceback (most recent call last):   File "/usr/local/lib/python3.6/dist-packages/youtube2zim-2.1.0-py3.6.egg/youtube2zim/entrypoint.py", line 178, in main     scraper.run()   File "/usr/local/lib/python3.6/dist-packages/youtube2zim-2.1.0-py3.6.egg/youtube2zim/scraper.py", line 250, in run     self.check_branding_values()   File "/usr/local/lib/python3.6/dist-packages/youtube2zim-2.1.0-py3.6.egg/youtube2zim/scraper.py", line 367, in check_branding_values     resize_image(self.profile_path, width=100, height=100, method="thumbnail")   File "/usr/local/lib/python3.6/dist-packages/youtube2zim-2.1.0-py3.6.egg/youtube2zim/utils.py", line 105, in resize_image     str(to) if to is not None else fpath, image.format, **kwargs.get(image.format) TypeError: save() argument after ** must be a mapping, not NoneType
--
rgaudin commented 4 years ago

recipe is 2.1.0 instead of 2.1.1. I believe this is fixed.

On Thu, Feb 20, 2020 at 15:33 Kelson notifications@github.com wrote:

FAILED. An error occured: save() argument after must be a mapping, not NoneType save() argument after must be a mapping, not NoneType Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/youtube2zim-2.1.0-py3.6.egg/youtube2zim/entrypoint.py", line 178, in main scraper.run() File "/usr/local/lib/python3.6/dist-packages/youtube2zim-2.1.0-py3.6.egg/youtube2zim/scraper.py", line 250, in run self.check_branding_values() File "/usr/local/lib/python3.6/dist-packages/youtube2zim-2.1.0-py3.6.egg/youtube2zim/scraper.py", line 367, in check_branding_values resize_image(self.profile_path, width=100, height=100, method="thumbnail") File "/usr/local/lib/python3.6/dist-packages/youtube2zim-2.1.0-py3.6.egg/youtube2zim/utils.py", line 105, in resize_image str(to) if to is not None else fpath, image.format, kwargs.get(image.format) TypeError: save() argument after must be a mapping, not NoneType

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/openzim/youtube/issues/66?email_source=notifications&email_token=AAAOESPZYD7G2P3TPBLKXRTRD2PEPA5CNFSM4KYRHVTKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IPA3MCQ, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAOESJ56S5M7LAAZMFGVU3RD2PEPANCNFSM4KYRHVTA .

kelson42 commented 4 years ago

@rgaudin I have updated all recipes