Last active
June 23, 2017 11:11
-
-
Save revenkroz/ae1e875a9f85cdad19b98b6925337f6e to your computer and use it in GitHub Desktop.
Собирает все названия со страницы и выдает csv-таблицу
This file contains hidden or 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
var csv = "data:text/csv;charset=utf-8,"; | |
var obj = document.getElementsByClassName("sale_page_name_link"); | |
[].forEach.call(obj, function(item,i,a) { | |
csv += item.innerHTML; | |
}); | |
var content = encodeURI(csv); | |
window.open(content); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment