Skip to content

Instantly share code, notes, and snippets.

@juque
Created November 28, 2022 12:12
Show Gist options
  • Save juque/913a110227996728c7a71e48cacca123 to your computer and use it in GitHub Desktop.
Save juque/913a110227996728c7a71e48cacca123 to your computer and use it in GitHub Desktop.
Documentales Netflix recomendados
# Documentales netflix recomendados
require 'http'
require 'nokogiri'
url = "https://mashable.com/article/best-documentaries-netflix"
content = HTTP.follow.get url
doc = Nokogiri::HTML content.to_s
doc.css('h2 em').each do |x|
puts x.content
end
# 1. 13th
# 2. Disclosure
# 3. Wild Wild Country
# 4. Icarus
# 5. Crip Camp: A Disability Revolution
# 6. Dick Johnson Is Dead
# 7. The Last Dance
# 8. Uppity: The Willy T. Ribbs Story
# 9. Chasing Coral
# 10. 20 Feet From Stardom
# 11. Fyre: The Greatest Party That Never Happened
# 12. Miss Americana
# 13. The Great Hack
# 14. Knock Down the House
# 15. Athlete A
# 16. Last Chance U
# 17. Challenger: The Final Flight
# 18. American Factory
# 19. Blackfish
# 20. Our Planet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment