@Akif9748

Bir siteden veri çektim şu şekilde: İmport requests. From BS4 import beautifulsoup. İmport json. URL = 'Play The Mini Crossword' Response = requests. Get Content = response. Content. Soup = beautifulsoup Data = Data = a = soup. find('section', attrs= ) div = a. find_all('div', attrs= ) z = div B = Z. Find('h3', attrs= ). text #Print C = Z. Find('ol', attrs= ) Sayi = C. Find_all('span', attrs= ) Lists = C. Find_all('span', attrs= ) For i in range(0, 5): K = lists. text X = sayi. text Data . append Div1 = a. Find_all('div', attrs= ) Z1 = div1 D = Z1. find('h3', attrs= ). text #Print E = Z1. find('ol', attrs= ) Sayi1 = e. Find_all('span', attrs= ) Lists1 = e. Find_all('span', attrs= ) For n in range(0, 5): L = lists1 . text S = sayi1 . text data . append #Cikti = #Cikti = #Print(json. Dumps #Json. Dumps Son düzenleyen: Moderatör: 10 Ekim 2021