v1.8.0 create patch for title update
haskx opened this issue Β· comments
haskx commented
Hi! π
Firstly, thanks for your work on this project! π
Today I used patch-package to patch googlethis@1.8.0
for the project I'm working on.
Here is the diff that solved my problem:
diff --git a/node_modules/googlethis/lib/utils/constants.js b/node_modules/googlethis/lib/utils/constants.js
index a086d19..547908c 100644
--- a/node_modules/googlethis/lib/utils/constants.js
+++ b/node_modules/googlethis/lib/utils/constants.js
@@ -10,7 +10,7 @@ module.exports = {
},
SELECTORS: {
// Organic Search Results
- TITLE: 'div.ynAwRc.q8U8x.MBeuO.gsrt.oewGkc.LeUQr',
+ TITLE: 'div.q8U8x.oewGkc.LeUQr',
DESCRIPTION: 'div.MUxGbd.yDYNvb',
URL: 'a.C8nzq.BmP5tf',
This issue body was partially generated by patch-package.
haskx commented
The answer is not that simple. There are quite a few changes that need to be made.
github-actions commented
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.