Skip to content

Commit e6b9666

Browse files
committed
Updated the URL used to fetch additional auction pages (items, mounts, outfits).
1 parent 8b10e97 commit e6b9666

File tree

4 files changed

+10
-3
lines changed

4 files changed

+10
-3
lines changed

CHANGELOG.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,13 @@ Changelog
66
Due to this library relying on external content, older versions are not guaranteed to work.
77
Try to always use the latest version.
88

9+
.. v3.5.6:
10+
11+
3.5.6 (2020-11-10)
12+
==================
13+
14+
- Updated the URL used to fetch additional auction pages (items, mounts, outfits).
15+
916
.. v3.5.5:
1017
1118
3.5.5 (2020-10-03)

tibiapy/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = '3.5.5'
1+
__version__ = '3.5.6'
22
__author__ = 'Allan Galarza'
33

44
import logging

tibiapy/bazaar.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1221,7 +1221,7 @@ def parse_page_items(cls, content, entry_class):
12211221
-
12221222
The entries contained in the page.
12231223
"""
1224-
parsed_content = parse_tibiacom_content(content, builder='lxml')
1224+
parsed_content = parse_tibiacom_content(content, builder='html5lib')
12251225
item_boxes = parsed_content.find_all("div", attrs={"class": "CVIcon"})
12261226
entries = []
12271227
for item_box in item_boxes:

tibiapy/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ async def _fetch_ajax_page(self, auction_id, type_id, page):
358358
The HTML content of the obtained page.
359359
"""
360360
headers = {"x-requested-with": "XMLHttpRequest"}
361-
page_response = await self._request("GET", f"https://www.tibia.com/charactertrade/ajax_getcharacterdata.php?"
361+
page_response = await self._request("GET", f"https://www.tibia.com/websiteservices/handle_charactertrades.php?"
362362
f"auctionid={auction_id}&"
363363
f"type={type_id}&"
364364
f"currentpage={page}",

0 commit comments

Comments
 (0)