-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Have observed error code(<Response [404]>) on these line:58 and 60 when I calling this def: q.msgSentToday() #7
Comments
muthukumarece5
changed the title
Have observed error code(<Response [404]>) on this line:58 and 60 when I calling this def: q.msgSentToday()
Have observed error code(<Response [404]>) on these line:58 and 60 when I calling this def: q.msgSentToday()
Jul 15, 2018
yes, it is still an issue. |
Hi @shubhamc183, I unable to found div, class inside Dev from get session page.I can't seen how much sms have been sent on html parser output. So could please look at issue and fix it. Regards, |
I'll have a look at this. |
Replace the lines from 57 with this code
This may help you..:-) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
way2sms/way2sms.py
Line 60 in 0eef9c7
Have observed error code(<Response [404]>) on this line:58 => self.q=self.session.get(self.msg_left_url) and got exception on this line:60 self.t=self.soup.find("div",{"class":"hed"}).h2.text
line:58
(<Response [404]>)
line:60
(<class 'AttributeError'>, AttributeError("'NoneType' object has no attribute 'h2'",), <traceback object at 0x0000005524E61208>)
If I comment out q.msgSentToday() it is works fine.
Regards,
Muthu
The text was updated successfully, but these errors were encountered: