4 ms·
Thanks for the reply. But you left out how you check against HN itself. You said your check goes like this: 1. Parse <title> from submission page 2. Check ag
by preek 16y ago
Thanks for the reply. But you left out how you check against HN itself.
You said your check goes like this:
1. Parse <title> from submission page
2. Check against description on HN
3. If 1==2, then flag as duplicate.
I don't think your script flags anyone as a duplicate who uses the same title as the original content producer(;
- DupDetector 16y agoNo. For each item on HN I pull the referenced page, parse the HTML and extract the text between "<title>" and "</title>". I compare those, as well as comparing the domain names. I don't parse the title from the HN submission, but from the page that has been referenced from the submission. Is that clearer?