El tema es que hice un script en python2.7 con el uso de BeatifulSoup... el script es el siguiente:
#!/usr/bin/env python
from Wappalyzer import WebPage, Wappalyzer
def main():
wap = Wappalyzer.latest()
try:
web = WebPage.new_from_url("https//:example.com")
tecnologias = wap.analyze(web)
for t in tecnologias:
print("tecnologia detectada: {}".format(t))
except:
print("Ha ocurrido un error!")
if __name__ == '__main__':
try:
main()
except KeyboardInterrupt:
print("saliendo")
al ir a la terminal (estoy usando linux) me da el siguiente mensaje de error:
$python wappalyzer.py /home/.local/lib/python2.7/site-packages/BeautifulSoup.py:114: UserWarning: You are using a very old release of Beautiful Soup, last updated in 2011. If you installed the 'beautifulsoup' package through pip, you should know the 'beautifulsoup' package name is about to be reclaimed by a more recent version of Beautiful Soup which is incompatible with this version.
This will happen at some point after January 1, 2021.
If you just started this project, this is easy to fix. Install the 'beautifulsoup4' package instead of 'beautifulsoup' and start using Beautiful Soup 4.
If this is an existing project that depends on Beautiful Soup 3, the project maintainer (potentially you) needs to start the process of migrating to Beautiful Soup 4. This should be a relatively easy part of the Python 3 migration.
""")
El curso que hago esta basado en python2, si me pueden explicar como puedo pasar el codigo a python3 o como solucionar unicamente este problema