![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
![[community profile]](https://www.dreamwidth.org/img/silk/identity/community.png)
Bounty for etcg Users - Help me trade with you!
Hello! If you don't know already, I've made and use a program I call Daytrader to (infrequently!) scrape people's cardsites and show me what I can trade them and for what. If you have access to your server logs and see some requests with a "Deno" user agent, that's me! I have implemented "fetchers" for 43 players, including those covered by a generic one for neotcg users (that didn't customize their readLogs()
function).
I posting this because I have hit a wall. I'm trying to add support to Daytrader for using kittyong's card sorter (AKA the "hahaveryfunny
" sorter) that most if not all etcg players use. However, this sorter's output is formatted via br
tags, not p
, div
, or span
tags. For technical reasons, this makes it an absolute nightmare for me to extract data from. After looking through a bunch of people's cardsites, thanks to subtle differences between them I concluded there is no way I can make a general solution for this... I would have to hand-roll things manually for every single player.
Not wanting to go through all that work, I am offering a bounty to all etcg users who don't have a needed cards page:
- Add a needed cards page to your cardsite (ideally one that uses
textarea
s, but I can work with anything that doesn't rely onbr
), OR - Implement the "fix" below to your card sorter.
As a reward, I will give you 8 cards out of my trade pile that you desire the most (according to your sorter) on a first come, first serve basis. If I don't have 8 cards you want, I'll fill the rest with crayons.