Description Usage Arguments Value Author(s) Examples
ywGetAddedHostsWeb hosts added to accounr from Yandex Webmaster Web version
1 | ywGetAddedHostsWeb(headers = NULL)
|
headers |
Headers for requests to Yandex Webmaster Web version. It's a named array containing User-Agent and Cookie form browser. |
Returns data frame with all added hosts.
Ivan Kutas
1 2 3 4 5 6 7 | # Take User-Agent and Cookie from browser. I use postman app for google chrome for this.
User_Agent <- 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36'
Cookie <- 'yandexuid=1458919211469463782; _ym_isad=2'
headers <- c('User-Agent' = User_Agent, 'Cookie' = Cookie);
hosts <- ywGetAddedHostsWeb(headers)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.