View Single Post
Old 06-01-2011, 07:04 PM   #3
bowbow
Member
bowbow began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Jun 2011
Device: kindle 3
Some ideas on the login-procedure:

I have no clue about python programming, but the logic behind the login is the following:

- RSS for all articles: http://www.changex.de/Feed/Home/RSS20
- Leads to first subscribers-only page: http://www.changex.de/Article/report...g_fuer_bildung
- IF not logged in, THEN <div class="subscribers weiterlesen">
- IF div class=subscribers weiterlesen", THEN a, page + ?login, e.g. http://www.changex.de/Article/report..._bildung?login
- WHEN ?login, THEN prompt for username & password AND fill <input id="nutzername" type="text" value="" name="username"> AND fill <input id="passwort" type="password" value="" name="password">
- WHEN filled in, THEN <button class="login-send" type="submit">
- You should now get the page with its full content

May anyone help me translating this into python?

Cheers!
bowbow is offline   Reply With Quote