def get_all_patent(): patent_list = [] for i in range(100): res = requests.get(url).text patent_list.append(res) return patent_list