Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions scholar.py
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@ def _parse_links(self, span):
self._strip_url_arg('num', self._path2url(tag.get('href')))

if tag.getText().startswith('Import'):
self.article['url_citation'] = self._path2url(tag.get('href'))
self.article['url_citation'] = tag.get('href')


@staticmethod
Expand Down Expand Up @@ -982,7 +982,7 @@ def apply_settings(self, settings):
# to Google.
soup = SoupKitchen.make_soup(html)

tag = soup.find(name='form', attrs={'id': 'gs_settings_form'})
tag = soup.find(name='form', attrs={'id': 'gs_bdy_frm'})
if tag is None:
ScholarUtils.log('info', 'parsing settings failed: no form')
return False
Expand Down