diff --git a/Python/27_python.py b/Python/27_python.py index ec443fe..655754c 100644 --- a/Python/27_python.py +++ b/Python/27_python.py @@ -4,7 +4,7 @@ def trade_spider(max_pages): page = 1 - while page <= max_page: + while page <= max_pages: url = 'https://buckysroom.org/trade/search.php?page=' + str(page) source_code = requests.get(url) plain_text = source_code.text @@ -28,4 +28,4 @@ def get_single_item_data(item_url): href = "https://buckysroom.org" + link.get('href') print(href) -trade_spider(3) \ No newline at end of file +trade_spider(3)