This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
khangtran
/
dark_web_forums
Watch
0
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
fixed parsing vendor rating for ThiefWorld
main
westernmeadow
1 year ago
parent
9fe1072b3a
commit
ff864f0dd3
1 changed files
with
1 additions
and
1 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
MarketPlaces/ThiefWorld/parser.py
+ 1
- 1
MarketPlaces/ThiefWorld/parser.py
View File
@ -53,7 +53,7 @@ def thiefWorld_description_parser(soup: BeautifulSoup) -> Tuple:
USD
=
cleanString
(
usdText
.
replace
(
"
USD
"
,
"
"
)
.
strip
(
)
)
USD
=
cleanString
(
usdText
.
replace
(
"
USD
"
,
"
"
)
.
strip
(
)
)
ratingDiv
=
soup
.
find
(
'
div
'
,
{
'
class
'
:
'
rating_star
'
}
)
ratingDiv
=
soup
.
find
(
'
div
'
,
{
'
class
'
:
'
rating_star
'
}
)
rating_vendor
=
ratingDiv
.
get
(
'
title
'
)
.
s
tri
p
(
'
'
)
[
1
]
rating_vendor
=
ratingDiv
.
get
(
'
title
'
)
.
sp
lit
(
'
'
)
[
1
]
# Populating the final variable (this should be a list with all fields scraped)
# Populating the final variable (this should be a list with all fields scraped)
row
=
(
vendor
,
rating_vendor
,
success
,
name
,
describe
,
CVE
,
MS
,
category
,
views
,
reviews
,
rating_item
,
addDate
,
row
=
(
vendor
,
rating_vendor
,
success
,
name
,
describe
,
CVE
,
MS
,
category
,
views
,
reviews
,
rating_item
,
addDate
,
Write
Preview
Loading…
Cancel
Save