Ruby on Rails Saturday, July 28, 2018



On Saturday, July 28, 2018 at 2:53:59 AM UTC-4, Colin Law wrote:
On 28 July 2018 at 00:15, fugee ohu <fuge...@gmail.com> wrote:
how do i webscrape aliexpress? i learned how to get a document object class Nokogiri::HTML containing the full html but there's no tables only ul and li selectors and i'm having trouble with that

Give us an example of a page you are scraping and an element you can't find.

Colin


Thanks Colin Made progress so now I have the <ul> list i want in an object I named ul Not sure how I'm gonna proceed My goal is to import to database tables  It's a few related tables instead of just one products table I don't think you still wanna see all that html do you? I can give you specific selectors, counts, text, etc

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/703241e0-3d4d-4502-bffd-8e87b207b84a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment