DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Last post Author Topic: [IDEA] Display the weather in the command line (Weather forcast to text)  (Read 33,313 times)

user45454

  • Participant
  • Joined in 2010
  • *
  • Posts: 22

Yup.  Do you want it timestamped or "fixed"? (i.e. Weather2Text.txt all the time or formatted like: YYYY-MM-DD-HH-MM-SS.txt)

Im not sure that I understand.
Im thinking it should look the same in text as it does in comand prompt. Just redirecting the output. (colors choise would be ignored ofcourse)
Like I can do with "dir > Output-File.txt" for example.

But if i run WeatherToText.exe https://www.klart.se/se/södermanlands-län/väder-alberga/timmar/ ; > Weather.txt
The text file Weather.txt just contains "Error: The handle is invalid."  :o

;D

publicdomain

  • Honorary Member
  • Joined in 2019
  • **
  • Posts: 732
    • Participated in NANY Challenge Three Times
    • Linux User
Im thinking it should look the same in text as it does in comand prompt. Just redirecting the output.

Got it! Next version contains it :up:

publicdomain

  • Honorary Member
  • Joined in 2019
  • **
  • Posts: 732
    • Participated in NANY Challenge Three Times
    • Linux User
Hello! WeatherToText v0.6.0 released:


It has a new /O:<filename> argument.

Example:

c:\WeatherToText.exe https://www.klart.se/se/södermanlands-län/väder-alberga/timmar/ yellow /N /T 1900 /O:Weather.txt

Using /O:Weather.txt writes parsed output to the "Weather.txt" file.

Enjoy!
:Thmbsup:
Vic

user45454

  • Participant
  • Joined in 2010
  • *
  • Posts: 22
Hello! WeatherToText v0.6.0 released:


It has a new /O:<filename> argument.

Example:

c:\WeatherToText.exe https://www.klart.se/se/södermanlands-län/väder-alberga/timmar/ yellow /N /T 1900 /O:Weather.txt

Using /O:Weather.txt writes parsed output to the "Weather.txt" file.

Enjoy!
:Thmbsup:
Vic

Works great! :up:

user45454

  • Participant
  • Joined in 2010
  • *
  • Posts: 22
Re: [IDEA] Display the weather in the command line (Weather forcast to text)
« Reply #29 on: September 06, 2022, 05:04 PM »
Hello! WeatherToText v0.6.0 released:


It has a new /O:<filename> argument.

Example:

c:\WeatherToText.exe https://www.klart.se/se/södermanlands-län/väder-alberga/timmar/ yellow /N /T 1900 /O:Weather.txt

Using /O:Weather.txt writes parsed output to the "Weather.txt" file.

Enjoy!
:Thmbsup:
Vic

Hello
Weather2Text has stoped working on Windows 7, it works on Windows 10.  :o :o :o
The error i get is "Error: The request was aborted: Could not create SSL/TLS secure channel."

I dont know if this helps: https://stackoverflow.com/questions/2859790/the-request-was-aborted-could-not-create-ssl-tls-secure-channel

wraith808

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 11,205
    • Participated in NANY Challenge Fourteen Times
    • Coding Snacks
    • Writer
    • Hardware Hacker
Re: [IDEA] Display the weather in the command line (Weather forcast to text)
« Reply #30 on: September 06, 2022, 06:29 PM »
The site probably disabled a version of TLS. What versions they support would have to be asked of them, but most likely they're only supporting TLS 1.2

Original address: https://www.donationcoder.com/forum/index.php?topic=51394.0