Re:Facebook adds 5 divs, 9 spans and 30 CSS classes to every...
by folkhack on Friday February 08, 2019 @02:32PM
(#19117833)
Yep yep - if the text isn't distorted I can rip it from an image within minutes using pre-built OCR libraries. If the text is distorted there's full-blown API-driven services for solving CAPTCHAs and the like.
Re:Facebook adds 5 divs, 9 spans and 30 CSS classes to every...
by TimothyBJacobs on Friday February 08, 2019 @05:56PM
(#19119468)
It seems like a time span of minutes wouldn't be fast enough for on-the-fly blocking of sponsored posts?
Re:Facebook adds 5 divs, 9 spans and 30 CSS classes to every...
by folkhack on Friday February 08, 2019 @06:03PM
(#19119497)
Oh yea - I guess I had a specific use case in mind when I said that =)
What I meant is that I can hammer out some Node/Python that will grab an image w/text and put it through OCR for character extraction. "Programming" it would take me a handful of minutes.
Re:Facebook adds 5 divs, 9 spans and 30 CSS classes to every...
by TimothyBJacobs on Saturday February 09, 2019 @01:05PM
(#19123648)
Ahh, that makes sense!
With all the easy to use tools available to programmers today, it would not be terribly hard to use OCR on a screenshot to find the text of interest and derive the scraping code by searching for the OCR'd text in the markup.
If none of your extant parsers can extract the info you want from the page, send it to OCR pipeline (or, hell, Mechanical Turk) and generate a new one.