You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: yfquotes@thegli/README.md
+5-13Lines changed: 5 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,20 +1,11 @@
1
1
# Cinnamon Desklet for Yahoo Finance quotes
2
2
3
-
## Description
3
+
## About
4
4
5
-
This repository contains a [desklet for the Cinnamon desktop environment](https://cinnamon-spices.linuxmint.com/desklets)that displays financial market information provided by [Yahoo Finance](https://finance.yahoo.com/).
5
+
This [desklet](https://cinnamon-spices.linuxmint.com/desklets)for the Cinnamon desktop environment displays financial market information provided by [Yahoo Finance](https://finance.yahoo.com/).
6
6
7
7

8
8
9
-
This desklet is based on the [desklet from fthuin](https://github.com/fthuin/yahoofinance-cinnamon-desklet). The data retrieval part is adopted to an alternative service url, after the Yahoo Finance community table got retired in May 2017.
10
-
11
-
Tested with
12
-
13
-
- Linux Mint Cinnamon 17 up to 22
14
-
- Debian 9 with Cinnamon 3.2
15
-
- Manjaro with Cinnamon 3.8
16
-
- Fedora 38 Cinnamon Spin with Cinnamon 5.6 and libsoup3
17
-
18
9
## Installation
19
10
20
11
Either follow the installation instructions on [Cinnamon spices](https://cinnamon-spices.linuxmint.com/desklets) (recommended), or manually download the directory **yfquotes@thegli** (below "files") and copy the directory and its content to `~/.local/share/cinnamon/desklets/`
@@ -64,9 +55,10 @@ Solution:
64
55
- Enable option *Send custom User-Agent header*
65
56
- Enable and configure external program *curl*
66
57
67
-
Both options are found on the tab "Network" in the configuration settings.
58
+
These options are found on the tab "Network" in the configuration settings.
59
+
You need to press the button "Apply network settings" to apply any changed options.
68
60
69
-
### Debug Logging
61
+
### Debug Log
70
62
71
63
**Only enable debug logging in case of problems, and when you know why you need it!**
callback.call(_that,_that.buildErrorResponse(_("Yahoo Finance service not available!\\nStatus: ")+_that.quoteUtils.getMessageStatusInfo(curlMessage)));
724
+
callback.call(_that,_that.buildErrorResponse(_("Yahoo Finance service not available! Status: ")+_that.quoteUtils.getMessageStatusInfo(curlMessage)));
_that.quoteUtils.logWarning("Failed to retrieve auth cookie from consent form");
1399
1402
_that.authAttempts++;
1400
-
_that.processFailedFetch(_("Consent processing failed! Unable to fetch quotes data.\\nStatus: ")+_that.quoteUtils.getMessageStatusInfo(consentResponseMessage));
1403
+
_that.processFailedFetch(_("Consent processing failed! Unable to fetch quotes data. Status: ")+_that.quoteUtils.getMessageStatusInfo(consentResponseMessage));
1401
1404
}
1402
1405
});
1403
1406
}else{
1404
1407
this.quoteUtils.logWarning("Consent form not detected");
1405
1408
this.authAttempts++;
1406
-
this.processFailedFetch(_("Consent processing not completed! Unable to fetch quotes data.\\nStatus: ")+this.quoteUtils.getMessageStatusInfo(authResponseMessage));;
1409
+
this.processFailedFetch(_("Consent processing not completed! Unable to fetch quotes data. Status: ")+this.quoteUtils.getMessageStatusInfo(authResponseMessage));;
0 commit comments