on-internet
← Community

MaybeEncodingError: Error sending result: ''

Stack Overflow ·

I am getting the below error when I am downloading files using multiprocessing. I am downloading Wikipedia page views and they have it by hour so it might include a lot of downloading. Any recommendation to why this error is caused and HOW TO SOLVE IT? Thanks MaybeEncodingError: Error sending result: ''. Reason: 'TypeError("cannot serialize '_io.BufferedReader' object",)' import fnmatch import requests import urllib.request from bs4 import BeautifulSoup import multiprocessing as mp def download_it(download_file): global path_to_save_document filename = download_file[download_file.rfind("/")+1:

Comments

Sign in or sign up to comment and upvote.

No comments yet.