python-meteor icon indicating copy to clipboard operation
python-meteor copied to clipboard

[question] How to use it with http

Open spec45as opened this issue 8 years ago • 0 comments

I want to scrap some data from site easydrop.ru, but i don't know which port they use for WS I have a line from .js script on this site:

Meteor.startup(function (e) {
        return function () {
            return t(), Meteor.setInterval(t, 1e3), e.socket = io("https://ws.easydrop.ru", {transports: ["websocket"]})
        }

So, i'm trying client = MeteorClient('http://ws.easydrop.ru:3000/websocket') and client = MeteorClient('http://ws.easydrop.ru:3000/') and client = MeteorClient('http://ws.easydrop.ru:443/') and client = MeteorClient('http://ws.easydrop.ru:443/websocket/')

But i have an error in py:

    raise ValueError("Invalid scheme: %s" % scheme)
ValueError: Invalid scheme: https

What should i do to work with it?

spec45as avatar Mar 19 '16 04:03 spec45as