This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Process: python3.4 [5563] | |
Path: /Users/USER/*/python | |
Identifier: python3.4 | |
Version: 0 | |
Code Type: X86-64 (Native) | |
Parent Process: bash [2276] | |
Responsible: Terminal [2252] | |
User ID: 503 | |
Date/Time: 2015-11-24 19:42:13.751 +0500 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Process: python3.4 [52793] | |
Path: /Users/USER/*/python3.4 | |
Identifier: python3.4 | |
Version: 0 | |
Code Type: X86-64 (Native) | |
Parent Process: python3.4 [52706] | |
Responsible: Terminal [24301] | |
User ID: 501 | |
Date/Time: 2015-08-26 00:51:15.296 +0500 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import sys | |
import sip | |
QT5 = True | |
if QT5: | |
from PyQt5.QtWidgets import QApplication | |
from PyQt5.QtWebKitWidgets import QWebView |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
============================================= 5 failed, 1009 passed, 18 xfailed in 193.86 seconds ============================================= | |
(splash)kmike ~/svn/splash [master+?]> py.test splash | |
============================================================= test session starts ============================================================= | |
platform darwin -- Python 2.7.5 -- py-1.4.26 -- pytest-2.6.4 | |
plugins: flaky, greendots, xdist | |
collected 1032 items | |
splash/tests/test_callback_proxy.py ....... | |
splash/tests/test_completer.py ................x..........x. | |
splash/tests/test_execute.py ...........................................................................x........x....................................................................x.....................................x... |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function scroll_to(splash, x, y) | |
local js = string.format( | |
"window.scrollTo(%s, %s);", | |
tonumber(x), | |
tonumber(y) | |
) | |
return splash:runjs(js) | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
from __future__ import absolute_import | |
import os | |
from scrapy.contrib.httpcache import FilesystemCacheStorage | |
from .dupefilter import splash_requst_fingerprint | |
class SplashAwareFSCacheStorage(FilesystemCacheStorage): | |
def _get_request_path(self, spider, request): |