#πŸ”’ Need help on my app/question

36 messages Β· Page 1 of 1 (latest)

drifting tide
#

Hey,

I'm building an app that via API takes in a telephone number and a URL, the code will then look at the URL and every 60sec checks for a change on the website, so it's continuously running. If it detects a change it will notify via the respective number.

The challenge for me has been to make it work that several people are able to use this at the same time with different phone inputs and URLs

Any suggestions how I can get this done? Is it a hosting side problem?

arctic stirrupBOT
#

@drifting tide

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

broken moss
#

How interesting!

#

with my expertise and experience, I am sure it is possible to implement

#

Before i suggest the efficient solution, I need more detailed information about your project

#

I mean, which frameworks or libraries you used,

coarse monolith
#

example ,if i send this to your API -

{
  'URL':'https://google.com',
  'phone':'1234556789'
}

why will this data change when it arrives at the backend ?

flat valve
coarse monolith
#

ohhh

flat valve
#

there are several webpage-monitoring services like that

coarse monolith
#

what changes ?

flat valve
#

changes in text/images. content changes essentially.

coarse monolith
#

well it would depend on site wont it

flat valve
#

maybe there's a price listing somewhere and you want to be notified when it changes.
or a coming soon website and you want to be notified when it opens.

flat valve
coarse monolith
#

well if they are talking about that kind of thing , then just monitor the specific field ig

coarse monolith
#

same goes for screenshot

#

like if there is aesthetic change

flat valve
#

they're not perfect, but they don't have to be, if it's a false positive the human getting the alerts will just ignore them.
(although... maybe one could train an AI to look for content changes and ignore aesthetic changes).

drifting tide
#

Yes its alr monitoring the whole thing with checking if there are changes and then sends it to the respective number

The Problem: if 2 people want to have 2 different websites monitored how do i do that then?

flat valve
#

how are you storing the data currently?

drifting tide
#

Its not being stored its sent out directly when the change occurs

flat valve
#

yeah, I'm asking how you're currently storing the website-to-phone-number association.

drifting tide
#

Let me get back to yall on phone rn, when im on pc i get show it

broken moss
#

could you clarify the scope of your project in more detail?

#

I think it would be possible to implement it .

#

but I need more detailed information about your project

coarse monolith
#

its best if you just told us what you are actually trying to do instead of trying ot explain in abstract terms

drifting tide
#

Ok look whats happening is that i write via whats app that i want to get listings and then get asked if i can provide a link, i will send a link. (the workflow behind that is being handled by Superchat) Superchat will then send the url + the number where the url came from to my backend. this will wait until it gets an url + tel. it will then look at the website and scrape the first time. waits 60seconds and does it again if no changes are detected it will sleep and then compare again. if it detects a change it will take that and directly sends it back to the tel where it got it from that it detected a change.

Now lets say not only i am sending an url to get to know if something changes on that website, lets say a friend is wanting to do the same for his url, because currently it will just overwrite the tel and url.

#

@coarse monolith @broken moss @flat valve

stone hollow
#

have the website support 304 and test for 304

#

hopefully your website dosnt have some form partial page delivery

arctic stirrupBOT
#
Python help channel closed

This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.