repl.it
@anonymous/

NavyblueInconsequentialAggregator

Python

No description

fork
loading
Files
  • main.py
main.py
1
2
3
4
5
6
7
8
import requests
import json

r = requests.get(' https://www.cbs.com/shows_xhr/all/')
json_data = r.json()
for page in json_data['result']['data']:
  for show in page['result']['data']:
    print(show['title'])