I am trying to log into a site,
https://www.telenor.no/privat/minesider/logginnfelles.cms?skin=telenor, with my user credentials. That site then redirects to https://www.telenor.no/privat/minesider/minside/minSide.cms.
I have tried all the different propsed solutions that I have found, but nothing has worked so far.. Is there someone out there that has a solution? Would be greatly appreciated!
Not sure how your attempting to log into the website, but here's an article that shows how it's done in python. Maybe post your code on here so we can get an idea of what's going on.
How can I login to a website with Python?
Related
Hi there I have a website which is hosted by pythonanywhere and the domain is from godaddy. So I have a simple issue I guess but I couldn't find the answer. My domain is www.itucampus.com
Everyone can reach my webpage with the links below:
http://itucampus.com
http://www.itucampus.com
itucampus.com
www.itucampus.com
https://www.itucampus.com
only this does not work -> https://itucampus.com The problem is I need it to be fixed for google adsense because they are trying to crawl my webpage over this link and they said they cannot change it to another. I also contacted godaddy and pythonanywhere if they may help me but they couldn't. I am new to web programming so I am not sure where I have to fix it. I hope you can help me. Thank you in advance.
You need to use an external HTTPS redirection service, e.g. NakedSSL.
You can read more on PythonAnywhere help pages.
I've created a web application, Now i want to put login authentication using twitter account.
As Stackoverflow include Gmail, Facebook to login into stackoverflow. Similarly i want to make the same thing with my application.
I'm bit confused here, Here is example i found. Please see this.
I found it into URL bar it generates this:
https://twitter.com/oauth/authenticate?oauth_token=VOU5SAAAAAAAASO2AAABUBx3tgE
But i'm finding difficulties to generate my own's application oauth_token. Can you please help me? How to generate it? I googled and searched into twitter everywhere. But none of things worked for me. :(
Please Help me.. HELP WOULD BE APPRECIATED!!
I've been trying to get my python code to post. I have tried using the Postman Plugin to test the post method and I would get a 405 method error. I am planning to have the user post the information and have it displayed.
Currently if I press submit I would get a error loading page, changing the form to get results in the submit button working and returning to the previous page. If I change the handler to post the screen would instantly display '405 Method Not Allowed'. I've looked through the Google App Engine logs and there are no errors. Can someone help me with what I done wrong and advise me on how to the post method functioning?
Thanks for the time.
You're getting '405 method not allowed' because the POST is going to the same url that served up the page, but the handler for that path (MainPage) does not have a post method.
That's the same diagnosis that you were given when you asked this question two hours earlier under a different user id.
Stepping back further to address the "what have I done wrong" question: It seems to me that you've gotten quite far along before discovering that what you have doesn't work. So far along that the example is cluttered with irrelevant code that's unrelated to the failure. That makes it harder for you for figure this out for yourself, and it makes it more difficult for people here to help you.
In this situation, you help yourself (and help others help you) by seeing how much code you can eliminate while still demonstrating the failure.
I have just started learning scrapy and i want to try some prasing with python and Scrapy.
I am thinking of getting the list of questions from specific tags, which i have posted, and then parse them on SO.
But i am not sure how can i log with open id and Scrapy.
Can some please guide me with this on which url i have to submit the data because when i will type the openid then site gets transfered to openid url so how can i enter password there
Use your RSS feed (basically xml).
One other way I can think of is to:
Login normally in browser
export cookies to file
use that file in script
I can think of a situation where fanatic badge would become less valued. Because, then people would simply schedule cron on their server to visit SO every day! So, I advice not doing anything of this sort.
Here is a good example how to simulate a user login request using scrapy.
I'm making a python script that should zip a file and upload it at a site. My problem is I can't figure out how to login into the site to then upload the file in question.
I've searched trough the web but can't make any of the solutions presented online to work, probably because I don't understand most of them (my knowledge of cookies is quite limited).
The site in question is CurseForge. If anyone could point me into the right direction, it would be great.
You can check this variant of httplib2 http://gnu.gabrielfalcao.com/bolacha/#uploading-a-file , it has examples on that page. You can get the code from http://github.com/gabrielfalcao/bolacha/tree/master
I ended up solving the issue using Requests.