This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Aug 2nd, 2011  |  syntax: None  |  size: 2.56 KB  |  views: 125  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. t0mm0@tv:~/urlresolver/script.module.t0mm0.common/lib$ python
  2. Python 2.7.1+ (r271:86832, Apr 11 2011, 18:05:24)
  3. [GCC 4.5.2] on linux2
  4. Type "help", "copyright", "credits" or "license" for more information.
  5. >>> from t0mm0.common.net import Net
  6. >>> n = Net(http_debug=True)
  7. >>> h = n.http_GET('http://vidreel.com/video/NTkzNTY2/')
  8. send: 'GET /video/NTkzNTY2/ HTTP/1.1\r\nHost: vidreel.com\r\nUser-Agent: Mozilla/5.0 (X11; Linux i686) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.99 Safari/535.1\r\nConnection: close\r\nAccept-Encoding: gzip\r\n\r\n'
  9. reply: 'HTTP/1.1 302 Found\r\n'
  10. header: Date: Tue, 02 Aug 2011 21:09:40 GMT
  11. header: Server: Apache/2.2.15 (Win32) PHP/5.2.8-x64
  12. header: X-Powered-By: PHP/5.2.8-x64
  13. header: Set-Cookie: videohuman=e8f82c9773f610303883; expires=Tue, 02-Aug-2011 20:09:40 GMT; path=/
  14. header: Location: http://vidreel.com/human/NTkzNTY2/
  15. header: Content-Length: 0
  16. header: Connection: close
  17. header: Content-Type: text/html
  18. send: 'GET /human/NTkzNTY2/ HTTP/1.1\r\nHost: vidreel.com\r\nUser-Agent: Mozilla/5.0 (X11; Linux i686) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.99 Safari/535.1\r\nConnection: close\r\nAccept-Encoding: gzip\r\n\r\n'
  19. reply: 'HTTP/1.1 200 OK\r\n'
  20. header: Date: Tue, 02 Aug 2011 21:09:40 GMT
  21. header: Server: Apache/2.2.15 (Win32) PHP/5.2.8-x64
  22. header: X-Powered-By: PHP/5.2.8-x64
  23. header: Set-Cookie: videohuman=e8f82c9773f610303883; expires=Tue, 02-Aug-2011 22:09:40 GMT; path=/
  24. header: Set-Cookie: showfullads=0988jj; expires=Tue, 02-Aug-2011 22:09:40 GMT; path=/
  25. header: Connection: close
  26. header: Transfer-Encoding: chunked
  27. header: Content-Type: text/html
  28. >>> h2 = n.http_GET('http://vidreel.com/video/NTkzNTY2/')
  29. send: 'GET /video/NTkzNTY2/ HTTP/1.1\r\nHost: vidreel.com\r\nUser-Agent: Mozilla/5.0 (X11; Linux i686) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.99 Safari/535.1\r\nCookie: videohuman=e8f82c9773f610303883; showfullads=0988jj\r\nConnection: close\r\nAccept-Encoding: gzip\r\n\r\n'
  30. reply: 'HTTP/1.1 200 OK\r\n'
  31. header: Date: Tue, 02 Aug 2011 21:09:52 GMT
  32. header: Server: Apache/2.2.15 (Win32) PHP/5.2.8-x64
  33. header: X-Powered-By: PHP/5.2.8-x64
  34. header: Set-Cookie: videohuman=e8f82c9773f610303883; expires=Tue, 02-Aug-2011 20:09:52 GMT; path=/
  35. header: Set-Cookie: Video=593566%2F2283631; expires=Tue, 02-Aug-2011 22:09:52 GMT; path=/
  36. header: Set-Cookie: popup11=1; expires=Wed, 03-Aug-2011 21:09:52 GMT
  37. header: Set-Cookie: showfullads=0988jj; expires=Tue, 02-Aug-2011 20:09:52 GMT; path=/
  38. header: Connection: close
  39. header: Transfer-Encoding: chunked
  40. header: Content-Type: text/html
  41. >>>
clone this paste RAW Paste Data