1. add timeout=5 to urlopen
2. add more categories to loop
3. add print category id for first page