diff --git a/scholar.py b/scholar.py index 13ccd43..2133d67 100755 --- a/scholar.py +++ b/scholar.py @@ -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 @@ -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