Giter Site home page Giter Site logo

i have issue please help about realtorca HOT 10 OPEN

froren avatar froren commented on August 30, 2024
i have issue please help

from realtorca.

Comments (10)

Froren avatar Froren commented on August 30, 2024

Can you paste your source code?

from realtorca.

harishandroid avatar harishandroid commented on August 30, 2024

const realtor = require('realtorca');

let opts = {
CultureId:1,
ApplicationId:1,
PropertySearchTypeId:1,
ReferenceNumber:'N4615865'

};

console.log( realtor.buildUrl(opts) );
//https://www.realtor.ca/Residential/Map.aspx#LongitudeMin=-79.6758985519409&LongitudeMax=-79.6079635620117&LatitudeMin=43.57601549736786&LatitudeMax=43.602250137362276&PriceMin=100000&PriceMax=425000

realtor.post(opts)
.then(data => {
//json response
console.log(data);
})
.catch(err => {
console.log(err);
});

from realtorca.

harishandroid avatar harishandroid commented on August 30, 2024

please help me..

from realtorca.

harishandroid avatar harishandroid commented on August 30, 2024

it was working fine for long time. today only i got issue

from realtorca.

Froren avatar Froren commented on August 30, 2024

I saw the same error when I was testing as well. It seems to have gone away now, can you confirm?

If it comes back I think I'll have ways to tinker with it and see what I can come up with to address it. Let me know if it's still an issue now or in the future.

from realtorca.

harishandroid avatar harishandroid commented on August 30, 2024

now it is working fine. i have installed node js on two systems . two systems shows same error and i have uninstalled in one system and reinstalled node js and now it is working fine in two systems.
i think because of ip issues i dont know for sure. But after uninstalling and reinstalling in one system it is working fine.

from realtorca.

FrankFlitton avatar FrankFlitton commented on August 30, 2024

What version of Node are you using? I'm using v10.14.2 and getting the error with reference numbers also.

from realtorca.

stuartathompson avatar stuartathompson commented on August 30, 2024

This is an IP problem. I had the same issue, tried updating Node, same issue. Logged into my VPN and it worked.

from realtorca.

Froren avatar Froren commented on August 30, 2024

While I was tinkering with this, I found that adding the some cookies with the request seemed to also fix the issue. Specifically, the ones prefixed with nlbi or incap_ses that you can find while making requests on realtor.ca.

I can see that the page also makes requests to an endpoint, https://www.realtor.ca/e8469ba99880590089b6cb783b503a90, which seems to be retrieving a possibly related token value.

Since it's a transient issue, I feel like it's just being experimented with (if at all), but I'm interested to see where this goes.

from realtorca.

harishandroid avatar harishandroid commented on August 30, 2024

status code 403 is there any solution

from realtorca.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.