question

newuser-64a41272-f9be-4eda-8d84-71a5b807515c avatar image
newuser-64a41272-f9be-4eda-8d84-71a5b807515c asked ·

How can Alexa skill fetch a content directly from Website instead of using DataBase ?

I am working on custom alexa skill and now i am using DynamoDB for storing contents of Website.

But i do not want to use this strategy. i need to enhance a alexa skill which will read and get content directly from the Website as a response. Please suggest which makes it possible.

alexa skills kitdynamodbaws iot
10 |2000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Jason@Amazon avatar image
Jason@Amazon answered ·

You could potentially scrape a website for it's content - technically this should be possible but depending on the contents of the website certification may not be guaranteed.

2 comments
10 |2000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

How can i scrape a website contents as i am using my company website and want to get contents from site. I have created custom lambda service in c#. So please suggest and share some references regarding to do this.

0 Likes 0 ·
Jason@Amazon avatar image Jason@Amazon ♦ newuser-64a41272-f9be-4eda-8d84-71a5b807515c ·

If it's your company website, it would most likely be easier to do this since you have direct access to the content. If you want to look into scraping, doing a quick search online for scraping and C# should give you a heads up on how to do this, but that's all I can really offer you at this point in time. For general C# sample code, here are a few examples:

https://github.com/alexa/skill-sample-csharp-fact

https://github.com/alexa/skill-sample-csharp-quiz-game

0 Likes 0 ·