opened
CalvinMiller190
username_0
This doesn't seem to work anymore -- it just returns an empty array no matter what I do.
Doesn't work
issue
created
dmahfouda
username_1
I'm also experiencing this issue—
comment
created
wooorm
username_2
They seem to change all the time: https://github.com/words/powerthesaurus-api/issues?q=is%3Aissue+is%3Aclosed

PRs welcome to help out with a more solid solution
comment
created
wooorm
username_2
@username_3 should we depreciate this perhaps? Their stuff keeps changing... 😩
comment
created
zeke
username_3
@deebah or @username_1 this module breaks whenever the website changes its HTML structure. The last time this happened it was a one-line change because of an updated CSS class name. Are you interested in attempting to work on a fix?
comment
created
ryanwbass
username_4
@username_3 Hey, I am currently looking for a good thesaurus api and based on the website this looks pretty promising and am feeling adventurous enough to contribute to something like this. Digging through the code to understand and some debugging it looks like I would have to update:
`done(null, $.selectAll('main .k3_b', tree).map(each))`
as $.selectAll is returning [].
So Im assuming that '.k3_b' element had its name changed or something along those lines. 

What element from the site were you guys originally selecting with that identifier?
comment
created
zeke
username_3
Hi @username_4 thanks for jumping in. I don't remember the historical DOM structure of the site off-hand. The best way for you to proceed would be to open the PowerThesaurus website in your browser, do a search, then see the selectors in the browser's web inspector. From there you can extrapolate and figure out what selectors would need to be changed here in this package. Hope that helps.
comment