Skip to content

Commit 523341b

Browse files
author
pgaref
committed
Dropping non useful .decode('utf-8') part - python3 compatibility
1 parent b875087 commit 523341b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

http_request_randomizer/requests/parsers/SamairProxyParser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def get_pagination_set(self):
7171
soup = BeautifulSoup(content, "html.parser")
7272
for ultag in soup.find_all('ul', {'class': 'pagination'}):
7373
for litag in ultag.find_all('li'):
74-
page_ref = litag.a.get('href').decode('utf-8')
74+
page_ref = litag.a.get('href')
7575
# Skip current page '/list'
7676
if page_ref.endswith(('htm', 'html')):
7777
page_set.add(page_ref)

0 commit comments

Comments
 (0)