Created
February 18, 2018 00:46
-
-
Save 1d10t/43acf48b148eb0c0f81e591dfaaca4b1 to your computer and use it in GitHub Desktop.
facebook comments to texts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// click 'see more' | |
[].map.call(document.querySelectorAll('a.fss'), function(a){ a.click(); }); | |
// get texts | |
[].map.call(document.querySelectorAll('.UFICommentActorAndBody'), function(d){ return d.querySelector('.UFICommentActorName').innerText+' пишет: '+d.querySelector('.UFICommentBody').innerText; }).join("\r\n\r\n") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment