jprichardson / jprichardson/node-google

Problem with link: null for google places

Open
#14 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
456
Forks
115
PR merge metrics
No merged PRs in 30d

Description

var google = require('google');

google.lang = 'ru';
google.tld = 'com.ua';

google('ПУЕТ', function(err, next, links){
     console.log(err, next, links);
});
[ { title: 'Результаты поиска на Картах Google по запросу ПУЕТ',
    link: null,
    description: 'Відповідно до рейтингу Міністерства освіти і науки України за результатами \nдіяльності у 2012 році ПУЕТ внесено до десятки кращих економічних ...Головний центр дистанційного навчання. Шановний друже ...Інструкція · Контакти · Зв\'язок з нами. Article. Дистанційна ...Кафедри. Головна / Кафедри .... Додаткова інф.: www ...Головна / Абітурієнту. Приймальна комісія. Склад ...',
    href: null },
  { title: 'Офіційна група ВНЗ "Укоопспілки" ПУЕТ | ВКонтакте',
    link: 'http://vk.com/puet_poltava',
    description: 'ВАС ВІТАЄ ПУЕТ! Запрошуємо Вас та Ваших друзів прийняти участь у житті \nнашого студентсва та ближче познайомитися з Полтавським університетом\n ...',
    href: 'http://vk.com/puet_poltava' },

test_html_-social-bot-___webstormprojects_social-bot

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the reported JavaScript example using the query "ПУЕТ", language "ru", and TLD "com.ua". Trace how the Google Places result is parsed and identify why its link and href are null. Done means the affected result exposes the correct link fields without breaking the other returned results.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
search
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.