https://www.nintendo.com.hk/data/json/switch_software.json
https://www.nintendo.co.jp/data/software/xml/switch.xml
| require 'anemone' | |
| #The below count is manually extracted from https://www.linkedin.com/directory/topics-X where 'X' is the alphabet | |
| word_to_char = { | |
| a: 98, b: 100, c: 99, d: 99, e: 99, f: 97, g: 96, h: 95, i: 100, j: 88, k: 92, l: 97, m: 100, | |
| n: 94, o: 99, p: 99, q: 87, r: 100, s: 100, t: 100, u: 94, v: 96, w: 100, x: 73, y: 53, z: 0 | |
| } | |
| all_urls, skipped_urls = [], [] | |
| word_to_char.each{ |char, count| 1.upto(count) { |num| all_urls << "https://www.linkedin.com/directory/topics-#{char}-#{num}/" } } |