mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-04 15:56:52 +02:00
Better mayo-clinic scraping
This commit is contained in:
@@ -66,7 +66,7 @@ module.exports = class MayoClinicCommand extends Command {
|
||||
return {
|
||||
name: $('h1').first().text().trim(),
|
||||
url: location,
|
||||
description: header.next().text()
|
||||
description: header.next('p').text()
|
||||
};
|
||||
}
|
||||
return location;
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "xiao",
|
||||
"version": "112.3.0",
|
||||
"version": "112.3.1",
|
||||
"description": "Your personal server companion.",
|
||||
"main": "Xiao.js",
|
||||
"scripts": {
|
||||
|
||||
Reference in New Issue
Block a user