How do I fix a ValueError: read of closed file exception?

后端 未结 2 522
天命终不由人
天命终不由人 2021-01-05 04:07

This simple Python 3 script:

import urllib.request

host = \"scholar.google.com\"
link = \"/scholar.bib?q=info:K7uZdMSvdQ0J:scholar.google.c         


        
2条回答
  •  借酒劲吻你
    2021-01-05 04:47

    If you run your app over managed cloud infrastructure, or managed security service, check for limitations that may come from them. Happened to me. Cloud providers sometimes impose a white list on accessible sites.

提交回复
热议问题