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
/* | |
It only scraps first 100 emails because other emails are not visible. | |
Whenever I will have time, i will try to work around this problem | |
Tested on Firefox 80.0.1 | |
Not sure about other browsers, (theoretically it should work) | |
*/ | |
// xpath of div containing emails in a google form | |
allDivs = $x("//*[contains(text(),'Email') and @class='freebirdAnalyticsViewQuestionTitle']/ancestor::div[@class='freebirdAnalyticsViewAnalyticsHover']") | |
// get innerText which is essentially emails of all correspondents and also contains some other irrelevant text | |
uglyData = allDivs[0].innerText.split('\n') |
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
/* | |
I use this script to scrap video titles of a playlist of my competitor and | |
then I use those keywords in my playlist videos too. | |
Tested on Firefox 80.0.1 | |
Not sure about other browsers | |
*/ | |
// get div containing playlist items | |
playlist = document.getElementsByTagName('ytd-playlist-video-renderer') |
NewerOlder