You are not logged in.

#1076 2019-04-30 21:56:17

Powderjockey
New Member
Registered: 2019-01-05
Posts: 2

Re: Show us your conky

Question, can the actual thread be searched?

I was searching for a conky which will display the standings of the MLB, NHL, NBA or NFL. I had a conky which did work. It was a Python script which was called. The script pull the information from the ESPN standings sites and did a good job. I wondering if there has been a change in their API.

Does anyone know of a script that will work in a conky. I wasn't getting much from searches on the Google.

Thanks


MX-Linux 18

Offline

#1077 2019-05-01 08:31:31

unklar
Member
Registered: 2015-10-31
Posts: 854

Re: Show us your conky

Powderjockey wrote:

It was a Python script which was called. The script pull the information from the ESPN standings sites and did a good job. I wondering if there has been a change in their API.

It should be this change in the Python script in question:
of

filename = "http://scores.espn.go.com/mlb/standings | egrep -A20 'American League'"

to

filename = "http://www.espn.com/mlb/standings | egrep -A20 'American League'"

As  ohnonot correctly noticed, no Python script is needed for this.   wink
In the Conky itself this line is enough to get the same result.

${execpi 3600 lynx -nonumbers -dump http://www.espn.com/mlb/standings | grep -A20 'American League'}

The problem is the double display of the results, once the State (?) and once the team.


I don't have a solution yet. Also I do not know myself with the American leagues    ops

Offline

#1078 2019-05-02 02:28:56

Powderjockey
New Member
Registered: 2019-01-05
Posts: 2

Re: Show us your conky

unklar wrote:
Powderjockey wrote:

It was a Python script which was called. The script pull the information from the ESPN standings sites and did a good job. I wondering if there has been a change in their API.

It should be this change in the Python script in question:
of

filename = "http://scores.espn.go.com/mlb/standings | egrep -A20 'American League'"

to

filename = "http://www.espn.com/mlb/standings | egrep -A20 'American League'"

As  ohnonot correctly noticed, no Python script is needed for this.   wink
In the Conky itself this line is enough to get the same result.

${execpi 3600 lynx -nonumbers -dump http://www.espn.com/mlb/standings | grep -A20 'American League'}

The problem is the double display of the results, once the State (?) and once the team.

I don't have a solution yet. Also I do not know myself with the American leagues    ops


Thanks for the help. Tried all of the changes.

Yes the display is doubled and columns headings are on the wrong end of the chart.

Last edited by Powderjockey (2019-05-02 02:36:20)


MX-Linux 18

Offline

#1079 2019-05-05 23:20:42

grzegorzdabrowka
Member
Registered: 2016-01-03
Posts: 15
Website

Re: Show us your conky

unklar wrote:

this works very well (Bitcoin)   big_smile

https://github.com/chubin/rate.sx

thx

EUR/USD ${execpi 300 curl usd.rate.sx/1eur?TFq -s | cut -c 1-5}
BTC/USD ${execi 300 curl usd.rate.sx/1btc?T | cut -c 1-13}

Offline

#1080 2019-05-18 14:02:28

pmra
New Member
Registered: 2019-05-18
Posts: 2

Re: Show us your conky

Dord wrote:

Here is mine. I had a pretty bloated conky but realized I didn't use most of the info on here, so I decided to purge it and go back to something simple, I added a color condition in the process for the updates and emails lines to turn it red when it is > 0:

http://i.imgur.com/8szwhejt.png

Hi Dord,

I'm trying to set up a conky and I like that colored email idea a lot. Could you show me how you do it, please?

Thanks in advance.

Offline

Board footer

Powered by FluxBB