JS
Size: a a a
JS
YS
YS
YS
YS
JS
sock <- socksConnectWith (defaultSocksConf "localhost" 9050) "exampleonion.onion" (PortNumber 80)
S
sock <- socksConnectWith (defaultSocksConf "localhost" 9050) "exampleonion.onion" (PortNumber 80)
JS
S
JS
import qualified Data.ByteString.Lazy as BSL
import Data.Default
import Network.Connection
import Network.HTTP.Client
import Network.HTTP.Client.TLS
main :: IO ()
main = do
manager <-
newTlsManagerWith $
mkManagerSettings def $ Just $ SockSettingsSimple "localhost" 9150
request <- parseRequest "https://www.linkedin.com/"
response <- httpLbs request manager
print $ BSL.take 1000 $ responseBody response
JS
JS
JS
JS
https_proxy='socks5://localhost:9150'
🄺꧁
🄺꧁
cabal: Could not resolve dependencies:
[__0] trying: metronome-0.1.1 (user goal)
[__1] trying: data-lens-template-2.2 (dependency of metronome)
[__2] next goal: template-haskell (dependency of data-lens-template)
[__2] rejecting: template-haskell-2.16.0.0/installed-2.16.0.0 (conflict:
data-lens-template => template-haskell>=2.11 && <2.12)
[__2] skipping: template-haskell-2.16.0.0, template-haskell-2.15.0.0,
template-haskell-2.14.0.0, template-haskell-2.13.0.0,
template-haskell-2.12.0.0 (has the same characteristics that caused the
previous version to fail: excluded by constraint '>=2.11 && <2.12' from
'data-lens-template')
[__2] rejecting: template-haskell-2.11.1.0, template-haskell-2.11.0.0,
template-haskell-2.10.0.0, template-haskell-2.9.0.0, template-haskell-2.8.0.0,
template-haskell-2.7.0.0, template-haskell-2.6.0.0, template-haskell-2.5.0.0,
template-haskell-2.4.0.1, template-haskell-2.4.0.0, template-haskell-2.3.0.1,
template-haskell-2.3.0.0, template-haskell-2.2.0.0 (constraint from
non-upgradeable package requires installed instance)
[__2] fail (backjumping, conflict set: data-lens-template, template-haskell)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: template-haskell, data-lens-template,
metronome
A
🄺꧁
A
🄺꧁