Skip to content

Commit edc859e

Browse files
committed
Upd tests
1 parent 8144435 commit edc859e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scraper/src/strategies/default_strategy.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,8 +163,8 @@ def get_records_from_dom(self, current_page_url=None):
163163
for meta_node in self.select('//meta'):
164164
name = meta_node.get('name')
165165
content = meta_node.get('content')
166-
if name and name.startswith('docsearch:') and content:
167-
name = name.replace('docsearch:', '')
166+
if name and name.startswith('docs-scraper:') and content:
167+
name = name.replace('docs-scraper:', '')
168168
jsonized = to_json(content)
169169
if jsonized:
170170
record[name] = jsonized

0 commit comments

Comments
 (0)