Не парсится корректно сайт

Почему парсится только первая страница?

from bs4 import  BeautifulSoup as BS
import requests
headers = {'User-Agent': 'Mozilla/5.0 (Macintosh;'
                         ' Intel Mac OS X 10_10_1) AppleWebKit/537.36 (KHTML, like Gecko) '
                         'Chrome/39.0.2171.95 Safari/537.36'}
URL = 'https://steamcommunity.com/market/search?appid=730&q='
fsb=[]
name_skins=(input('Название скина:')).replace(' ','|',1)
page=int(input('Введите страницы:'))
URL= f'{URL}{name_skins}'
for i in range(1,page+1):
    URL= f'{URL}#p{i}_price_asc'
    print(URL)
    r=requests.get(URL,headers)
    soup = BS(r.text,'lxml')
    quotes = soup.find_all('div', class_='market_listing_row market_recent_listing_row market_listing_searchresult')
    for quote in quotes:
        fsb.append(quote)
        print(','.join(quote.text.split()))
    URL= f'https://steamcommunity.com/market/search?appid=730&q={name_skins}'

Ответы (0 шт):