Alouka Пользователь Регистрация 30.07.2015 Сообщения 89 Благодарностей 5 Баллы 8 04.08.2015 #1 Hello Zennoers; I'm trying to get the number of results indexed for a query on google... i'm trying to get the number in id="resultStats"> tag but it dosn't work with regex... Please anyone could help ? Thank you
Hello Zennoers; I'm trying to get the number of results indexed for a query on google... i'm trying to get the number in id="resultStats"> tag but it dosn't work with regex... Please anyone could help ? Thank you
VladZen Administrator Команда форума Регистрация 05.11.2014 Сообщения 22 279 Благодарностей 5 857 Баллы 113 04.08.2015 #2 Could you please give example of the code from google? Реакции: Alouka
Alouka Пользователь Регистрация 30.07.2015 Сообщения 89 Благодарностей 5 Баллы 8 04.08.2015 #3 I resolved it with Regex. Here my sample project (but for Google.fr, You should modify it to fit with your Google tld and language .ru, .com...etc). Вложения GoogleIndexedNumber.xmlz 14,3 КБ Просмотры: 132 Реакции: VladZen
I resolved it with Regex. Here my sample project (but for Google.fr, You should modify it to fit with your Google tld and language .ru, .com...etc).
VladZen Administrator Команда форума Регистрация 05.11.2014 Сообщения 22 279 Благодарностей 5 857 Баллы 113 04.08.2015 #4 Alouka сказал(а): I resolved it with Regex. Here my sample project (but for Google.fr, You should modify it to fit with your Google tld and language .ru, .com...etc). Нажмите, чтобы раскрыть... The following regex should work for all languages: (?<=id="resultStats">[\w\W]+)\d+.*?(?=<nobr>) Реакции: Alouka
Alouka сказал(а): I resolved it with Regex. Here my sample project (but for Google.fr, You should modify it to fit with your Google tld and language .ru, .com...etc). Нажмите, чтобы раскрыть... The following regex should work for all languages: (?<=id="resultStats">[\w\W]+)\d+.*?(?=<nobr>)
Alouka Пользователь Регистрация 30.07.2015 Сообщения 89 Благодарностей 5 Баллы 8 04.08.2015 #5 Yes ! Nice Vladz Реакции: VladZen
Alouka Пользователь Регистрация 30.07.2015 Сообщения 89 Благодарностей 5 Баллы 8 06.08.2015 #6 VladZ сказал(а): The following regex should work for all languages: (?<=id="resultStats">[\w\W]+)\d+.*?(?=<nobr>) Нажмите, чтобы раскрыть... Strange... taking source of result doesnt always contain the "resultStats" tag ...
VladZ сказал(а): The following regex should work for all languages: (?<=id="resultStats">[\w\W]+)\d+.*?(?=<nobr>) Нажмите, чтобы раскрыть... Strange... taking source of result doesnt always contain the "resultStats" tag ...
VladZen Administrator Команда форума Регистрация 05.11.2014 Сообщения 22 279 Благодарностей 5 857 Баллы 113 06.08.2015 #7 Alouka сказал(а): Strange... taking source of result doesnt always contain the "resultStats" tag ... Нажмите, чтобы раскрыть... It's better take DOM of search results webpage.
Alouka сказал(а): Strange... taking source of result doesnt always contain the "resultStats" tag ... Нажмите, чтобы раскрыть... It's better take DOM of search results webpage.
Alouka Пользователь Регистрация 30.07.2015 Сообщения 89 Благодарностей 5 Баллы 8 06.08.2015 #8 Same... sometimes there is the tag and sometimes no .... even with the Get
VladZen Administrator Команда форума Регистрация 05.11.2014 Сообщения 22 279 Благодарностей 5 857 Баллы 113 06.08.2015 #9 Alouka сказал(а): Same... sometimes there is the tag and sometimes no .... even with the Get Нажмите, чтобы раскрыть... I've tested with Get and... this is the case when no websites found
Alouka сказал(а): Same... sometimes there is the tag and sometimes no .... even with the Get Нажмите, чтобы раскрыть... I've tested with Get and... this is the case when no websites found