0

I'm using urlopen to read a site but it hangs in my program. But when I'm testing from terminal and python interpreter it works fine. The code is this:

page = urlopen ("http://mangafox.me/directory/").read ()
print ('soup')
# soup = BeautifulSoup (urlopen ("http://www.mangafox.me/directory/").read (), 'html.parser')
print ("soup")
manga_img = soup.findAll ('a', {'class' : 'manga_img'}, limit=None)
Clepto
  • 685
  • 1
  • 6
  • 7

0 Answers0