« first day (40 days earlier)      last day (3780 days later) » 

1:34 AM
@undo remember to throttle
@hic what does it do?
 
@Manish Parses website to get weather information from webservice.
 
Ah
Selenium is spiffy. Too bad I don't know how to use it :p
 
@ManishEarth What is selenium?
 
@Undo It's really cool. It's a library for python that lets you open webpages and do stuff without having to actually press buttons.
 
Ooohhh
 
1:40 AM
1
Q: Task doesn't complete if it is run by System (so it's hidden)

hichris123I'm making an application using Python to parse a webpage. For reference, this is the program's code: import csv from selenium import webdriver from selenium.webdriver.common.keys import Keys import logging logging.basicConfig(filename='example.log',level=logging.DEBUG) logging.info('first log'...

 
Can it run on a headless server?
 
@Manish ^ See here
@Undo Meaning?
 
Yeah, that's the point
 
@hichris123 Like a Ubuntu Server setup?
 
I don't think it's just python, it's a general language
 
1:41 AM
@Manish You're right.
 
There are also addons t I record selenium activity
 
It just can be used in Python.
Now my problem is not displaying CMD and the Firefox window with a System Scheduled task, the subject of my SU question.
 
Windows? No help for you
Not that I'm a windows hater, just that I've never used python on Windows
 
What do you like?
Linux?
PyDev with Eclipse.
 
Hmm, batch files. I may be able to answer
 
1:44 AM
Manish...
You have an interesting thinking process.
 
@hic both, I freely switch between win8 and ubuntu depending on need/mood
Ok, looked at the entire question, not sure
 
Yeah, it's confusing.
Why doesn't it work when it's run as SYSTEM, but it works as my user account?
 
Ok, looked at the entire question, not sure where to start
 
grumbles about people talking about off-topic things
But whatever.
 
@Undo It's my life right now.
 
1:47 AM
@hic pythonpath not set for SYSTEM?
 
Ok.
Sounds good, then.
 
It's a weather monitoring station at my place, which goes to a webservice, I parse it, and then it goes into a CSV.
@Manish I think it is, but wouldn't it not start rather than execute some statements?
 
You don't have access to the actual data?
 
@Undo I would have to create an API.
And write a lot of code.
 
It would have to be easier than scraping.
 
1:49 AM
@hic exactly, that's why I didn't write the answer
 
@Undo All I have is an LCD screen. It then is wirelessly sent to a thingy connected to the internet, which sends it to the service.
 
@hic instead of selenium you could have figured out which post req is sent by the ajax and sent it via python
 
@hichris123 Huh
 
@Manish Too much work. I don't really care enough, just want the data.
(And over my head)
 
It's not hard.
Chrome dev tools would do it.
 
1:52 AM
I don't even know what the post requrement sent by the AJAX is, so explain please?
 
request
You can open Chrome dev tools, click the Network tab, and reload the page. Should give you something useful.
 
Then what do I do?
 
Look for something in the left column that looks like what you want.
(this is where I hand off to @ManishEarth and go to cook a S'more)
 
darnit, someone hid the sticks
 
1:54 AM
On mobile, limited teaching abilities
 
there's a stick!
now, the marshmallows
aha!
bye, folks.
 
Cya.
 
 
1 hour later…
3:00 AM
Hehehe
:D
 
3:17 AM
You have so much fun.
Here's what my computer looks like
Disregard the rain, that's me playing with it.
 
 
15 hours later…
6:39 PM
@Undo I poked around a bit, and figured out the exact hole. (I had flipped the URL when I had looked for that particular page long ago, but I decided to check today) Wow. Scary.
Why haven't they fixed that yet?
Sorely tempting, but I'm not going to fetch any more stuff for the heck of it. :o
 
 
3 hours later…
9:35 PM
@Manish Terrible, isn't it.
in Undo & Oded on Meta Stack Overflow Chat, 14 secs ago, by Undo the Snowman
Is there any update on this? It's terribly tempting ;)
 
9:58 PM
@Undo Now it's try to break into dev.so time!
For me, at least.
 

« first day (40 days earlier)      last day (3780 days later) »