Can't import
ghostku opened this issue · comments
Не могу подключить модуль
Traceback (most recent call last):
File "tvshows.py", line 11, in <module>
from kinopoisk import Movie
ImportError: cannot import name 'Movie'
Также и с 'Person'
поправил документацию
Попробуйте
from kinopoisk.movie import Movie
Заработало немного
Теперь при получении данных каждый раз выдает предупреждение
C:\tools\python\lib\site-packages\beautifulsoup4-4.4.0-py3.4.egg\bs4__init__.py:166: >UserWarning: No parser was explicitly specified, so I'm using the best available HTML parser for >this system ("lxml"). This usually isn't a problem, but if you run this code on another system, or in a >different virtual environment, it may use a different parser and behave differently.
To get rid of this warning, change this:
BeautifulSoup([your markup])
to this:
BeautifulSoup([your markup], "lxml")