topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Friday March 29, 2024, 8:12 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

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

user45454

  • Participant
  • Joined in 2010
  • *
  • Posts: 22
    • View Profile
    • Donate to Member

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
  • Call me Vic!
    • View Profile
    • Donate to Member
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:
My name's Victor but do feel free to call me Vic!

Support with your DonationCredits!
❤️ Support on Patreon @ www.patreon.com/publicdomain
🎁 One-time Paypal @ www.paypal.com/paypalme/victorvls
Email/Paypal: publicdomainvicgmail.com

publicdomain

  • Honorary Member
  • Joined in 2019
  • **
  • Posts: 732
  • Call me Vic!
    • View Profile
    • Donate to Member
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
My name's Victor but do feel free to call me Vic!

Support with your DonationCredits!
❤️ Support on Patreon @ www.patreon.com/publicdomain
🎁 One-time Paypal @ www.paypal.com/paypalme/victorvls
Email/Paypal: publicdomainvicgmail.com

user45454

  • Participant
  • Joined in 2010
  • *
  • Posts: 22
    • View Profile
    • Donate to Member
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
-publicdomain (March 13, 2022, 10:44 AM)

Works great! :up:

user45454

  • Participant
  • Joined in 2010
  • *
  • Posts: 22
    • View Profile
    • Donate to Member
Re: [IDEA] Display the weather in the command line (Weather forcast to text)
« Reply #29 on: September 06, 2022, 12: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
-publicdomain (March 13, 2022, 10:44 AM)

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://stackoverflo...l-tls-secure-channel

wraith808

  • Supporting Member
  • Joined in 2006
  • **
  • default avatar
  • Posts: 11,186
    • View Profile
    • Donate to Member
Re: [IDEA] Display the weather in the command line (Weather forcast to text)
« Reply #30 on: September 06, 2022, 01: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