简体   繁体   English

在 Alexa 开发者控制台中使用 beautifulsoup4

[英]Use beautifulsoup4 in Alexa developer console

I need beautifulsoup4 to scrape through a websites HTML and get information.我需要beautifulsoup4 来抓取网站HTML 并获取信息。 I want to use that information in my Alexa-skill.我想在我的 Alexa 技能中使用这些信息。

How do I import/use bs4 in my Alexa developer console?如何在我的 Alexa 开发者控制台中导入/使用 bs4?

I've already read how to make a deployment package ( https://docs.aws.amazon.com/lambda/latest/dg/lambda-python-how-to-create-deployment-package.html ), but I don't understand how to download/zip bs4.我已经阅读了如何制作部署包( https://docs.aws.amazon.com/lambda/latest/dg/lambda-python-how-to-create-deployment-package.html ),但我没有不明白如何下载/压缩 bs4。

I am new to Python, AWS and Alexa developer console, so I am sorry if that question is very easy to answer.我是 Python、AWS 和 Alexa 开发者控制台的新手,所以如果这个问题很容易回答,我很抱歉。

Kind regards, Dany亲切的问候,丹妮

我想你会在这个文档网址找到你需要的一切: https : //docs.aws.amazon.com/lambda/latest/dg/lambda-python-how-to-create-deployment-package.html

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM