PappasArts
Veteran
Whats the back story on why this camera is so scarce? I thought panasonic said early June for the US and it already released overseas?
Their idiots! Simple!
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Whats the back story on why this camera is so scarce? I thought panasonic said early June for the US and it already released overseas?
The woman I spoke with at Panasonic was Jolene... she is supposed to give me a call back today.
She said she was going to send out a couple emails to find out what is going on.
"OH NOES B&H IN STOCK!!"
lololol
just laughing at that script that guy wrote. b&h isn't really in stock.
well there's a used GH1 on ebay with starting bid of $2000 and buy it now for the low price of $2500. Any taker? motherfvcker got this camera from who knows where.
83% rating, and blames downturn in business as the reason selling...Hmmmm
Actually the minute that they are in stock that will be what you see, run the script to try it out![]()
import httplib,time,sys
conn = httplib.HTTPConnection('www.bhphotovideo.com')
import smtplib
from email.MIMEMultipart import MIMEMultipart
from email.MIMEBase import MIMEBase
from email.MIMEText import MIMEText
from email import Encoders
import os
gmail_user = "youraccount@gmail.com"
gmail_pwd = "yourpass"
att_number = "123-456-7890"
wait_interval = 60 #this is in seconds
def mail(to, subject, text, attach):
msg = MIMEMultipart()
msg['From'] = gmail_user
msg['To'] = to
msg['Subject'] = subject
part = MIMEBase('application', 'octet-stream')
Encoders.encode_base64(part)
mailServer = smtplib.SMTP("smtp.gmail.com", 587)
mailServer.ehlo()
mailServer.starttls()
mailServer.ehlo()
mailServer.login(gmail_user, gmail_pwd)
mailServer.sendmail(gmail_user, to, msg.as_string())
mailServer.close()
inStock = False
while not inStock:
print "Checking stock...",
conn.request("GET","/c/product/608940-REG/Panasonic_DMC_GH1K_Lumix_DMC_GH1_Digital_Camera.html")
req = conn.getresponse()
response = req.read()
try:
inStock = response.split('class="value inStock"')[1].split(">")[1].split("<")[0]
if inStock:
while True:
print "OH NOES B&H in STOCK!"
mail("%s@txt.att.net" % "".join(att_number.split('-')),"DMC-GH1 in stock!","DMC-GH1 in stock at B&H. If you get one thank Delaney.",None)
except IndexError, e:
print "Backordered"
time.sleep(wait_interval)
For those with AT&T and a gmail account...
I tried both of those scripts and neither of them seem to work. I'm using Mac OS X 10.5.7.
#!/usr/bin/python
#!/usr/bin/python
import httplib,time,sys,os
conn = httplib.HTTPConnection('www.bhphotovideo.com')
import smtplib
from email.MIMEMultipart import MIMEMultipart
from email.MIMEBase import MIMEBase
from email.MIMEText import MIMEText
from email import Encoders
import os
gmail_user = "you@gmail.com"
gmail_pwd = "pass"
att_number = "123-456-7890"
wait_interval = 60
def mail(to, subject, text, attach):
msg = MIMEMultipart()
msg['From'] = gmail_user
msg['To'] = to
msg['Subject'] = subject
msg.attach(MIMEText(text))
part = MIMEBase('application', 'octet-stream')
Encoders.encode_base64(part)
mailServer = smtplib.SMTP("smtp.gmail.com", 587)
mailServer.ehlo()
mailServer.starttls()
mailServer.ehlo()
mailServer.login(gmail_user, gmail_pwd)
mailServer.sendmail(gmail_user, to, msg.as_string())
mailServer.close()
inStock = False
while not inStock:
print "Checking stock...",
conn.request("GET","/c/product/608940-REG/Panasonic_DMC_GH1K_Lumix_DMC_GH1_Digital_Camera.html")
req = conn.getresponse()
response = req.read()
try:
inStock = response.split('class="value inStock"')[1].split(">")[1].split("<")[0]
if inStock:
print "OH NOES B&H in STOCK!"
print "Sending SMS...",
mail("%s@txt.att.net" % "".join(att_number.split('-')),"DMC-GH1 ALERT!","DMC-GH1 in stock at B&H. If you get one thank Delaney!",None)
print "Done"
except IndexError, e:
print "Backordered"
time.sleep(wait_interval)
print 'If you see this you better damn well have a GH1 being shipped to you'
raw_input("Press ENTER to exit")
Sorry to disappoint you, but no it's not going to work.
Your only option is to explain the situation to the seller and have him cancel this transaction (mutual withdrawal on Ebay) and have him relist it. He will still have to pay relist fees (not much, unlike final value fees probably ~$60 which he will get back if you go through the mutual withdraw thing on Ebay).
Since you didn't pay yet, if you want to play dirty, insist that he does that for you or else...... Which is why my listings always require immediate payment![]()
Not a mac guy but appears its not able to run the script at all try this in order...
1. try addingas the first line of the file.Code:#!/usr/bin/python
2. I tested with python 2.6 but 2.5+ should work, if in doubt update to 2.6.*
3. Also, Try running directly from terminal.
4. Try 'chmod 777 the_filename.py' too. might need to use 'sudo chmod 777', not sure. Macs are too shiny for me.
Keep me updated.
MacBookAir:~ mike$ /Library/Frameworks/Python.framework/Versions/3.1/bin/python3.1 bh_gh1_alert.py
File "bh_gh1_alert.py", line 39
print "Checking stock...",
^
SyntaxError: invalid syntax