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