I would like to know if there are boundaries on how often, how in generel it is allowed to crawl the extensions website? I build a bot which is able to grab the info header from the each xep extension. But there are no threshholds on how often one could issue a request.
Or maybe if theres a neat api I could use :)
Zash
robots.txt ?
intosi
Why don't you just use a local git clone for that?
Zash
or https://xmpp.org/extensions/xeplist.xml
derdanielhas left
derdanielhas joined
jonas’
mightyBroccoli, if there’s anything more you need which isn’t in xeplist.xml, let me know
mightyBroccoli
I wasnt aware of the xml :) thats everything I need :) caching will do the reset :) thats even better then my bs4 garbage :D
jonas’ it seems that the xml lists even the deferred xeps, are there some not listed in there?
jonas’
mightyBroccoli, the XML lists all the things
jonas’
even inbox
derdanielhas left
derdanielhas joined
mightyBroccoli
ahh ok, thats nice.
I guess the accepted tag could be used to redact the inbox xeps from the results
derdanielhas left
derdanielhas joined
jonas’
exactly
jonas’
mightyBroccoli, use If-Modified-Since
jonas’
the webserver supports that
Zash
Why not ETag/If-None-Match ?
jonas’
or that
jonas’
firefox does both and gets 304
Zash
Both work exactly the same anyways
jonas’
probably
jonas’
depends on how the etag is generated
Zash
Which means you can use them as supercookies
Zash
I made a thing once that used the timestamp of the last request in If-Modified-Since. It doesn't work then.
Zash
It has to be exactly what the server sent in whatever header it was.
mightyBroccoli
I will try both ideas and use whatever is easiest and working :)
derdanielhas left
derdanielhas joined
derdanielhas left
derdanielhas joined
derdanielhas left
derdanielhas joined
derdanielhas left
efrithas left
Alexhas left
j.rhas joined
danielhas left
danielhas joined
labdsfhas left
danielhas left
danielhas joined
labdsfhas joined
Str4tocasterhas joined
danielhas left
danielhas joined
muppethhas joined
lnjhas left
lumihas joined
muppethhas joined
tuxhas left
Dave Cridlandhas left
Dave Cridlandhas joined
dwdhas left
dwdhas joined
j.rhas joined
matlaghas left
Str4tocasterhas left
Str4tocasterhas joined
dwdhas left
Guushas joined
Str4tocasterhas left
Str4tocasterhas joined
muppethhas joined
blablahas left
muppethhas joined
labdsfhas left
pep.has left
dwdhas joined
Str4tocasterhas left
labdsfhas joined
Str4tocasterhas joined
Alexhas left
Str4tocasterhas left
peterhas joined
peterhas left
Str4tocasterhas joined
Dave Cridlandhas left
Dave Cridlandhas joined
Dave Cridlandhas left
dwdhas left
Dave Cridlandhas joined
efrithas joined
Str4tocasterhas left
labdsfhas left
Str4tocasterhas joined
dwdhas joined
dwdhas left
dwdhas joined
thorstenhas left
jjrhhas left
thorstenhas joined
dwdhas left
Guushas left
Guushas joined
Dave Cridlandhas left
Dave Cridlandhas joined
dwdhas joined
Guushas left
j.rhas joined
Valerianhas joined
Guushas joined
Str4tocasterhas left
Str4tocasterhas joined
ThibGhas left
ThibGhas joined
dwdhas left
dwdhas joined
dwdhas left
matlaghas left
labdsfhas joined
j.rhas joined
dwdhas joined
peterhas joined
Str4tocasterhas left
efrithas left
lnjhas joined
Nekithas joined
j.rhas joined
Nekithas left
Steve Killehas left
matlaghas left
andyhas left
dwdhas left
dwdhas joined
dwdhas left
waqashas joined
peterhas left
Guushas left
Guushas joined
Alexhas left
Guushas left
dwdhas joined
APachhas left
Nekithas joined
dwdhas left
dwdhas joined
Valerianhas left
peterhas joined
peterhas left
dwdhas left
Valerianhas joined
Guushas joined
winfriedhas joined
winfriedhas joined
Valerianhas left
Valerianhas joined
Valerianhas left
matlaghas left
danielhas left
danielhas joined
dwdhas joined
lnjhas left
lnjhas joined
blablahas left
marchas joined
j.rhas joined
Guushas left
Guushas joined
Guushas left
blablahas left
jjrhhas left
jjrhhas left
Guushas joined
ThibGhas joined
ThibGhas joined
matlaghas left
marchas left
ThibGhas left
Tobiashas left
Tobiashas joined
Alexhas joined
ralphmhas left
Zashhas left
mimi89999has joined
marchas joined
j.rhas joined
dwdhas left
dwdhas joined
dwdhas left
vanitasvitaehas left
ThibGhas joined
ThibGhas left
tahas joined
ThibGhas joined
derdanielhas joined
derdanielhas left
derdanielhas joined
danielhas left
danielhas joined
derdanielhas left
Dave Cridlandhas left
Dave Cridlandhas joined
Dave Cridlandhas left
Dave Cridlandhas joined
dwdhas joined
dwdhas left
dwdhas joined
peterhas joined
ThibGhas joined
ThibGhas joined
matlaghas left
blablahas left
danielhas left
danielhas joined
blablahas joined
goffihas left
matlaghas left
dwdhas left
blablahas joined
Dave Cridlandhas left
Dave Cridlandhas joined
dwdhas joined
danielhas left
danielhas joined
dwdhas left
Valerianhas joined
Steve Killehas left
edhelashas left
edhelashas joined
dwdhas joined
Steve Killehas left
blablahas joined
j.rhas joined
Steve Killehas joined
j.rhas joined
lorddavidiiihas joined
vanitasvitaehas joined
vanitasvitae
Hi! Who was running planet.jabber.org again?
vanitasvitae
ah found it 😀
muppethhas left
muppethhas joined
Guushas left
Guushas joined
intosi
Won't need to point you to ralphm then ;)
ralphmhides
vanitasvitae
😀
Kevhas left
Alexhas left
Kevhas left
labdsfhas left
Steve Killehas left
dwdhas left
dwdhas joined
dwdhas left
dwdhas joined
lhas joined
lskdjfhas joined
matlaghas left
labdsfhas joined
vanitasvitaehas left
ralphmhas left
UsLhas left
UsLhas joined
vanitasvitaehas joined
vanitasvitaehas left
Valerianhas left
labdsfhas left
Zashhas left
Yagizahas left
mightyBroccoli
Zash, I am just wondering the xml you posted is actually invalid. XEP 225 talks about <domain> and <hostname> tags which are unescaped.
Zash
Who what when?
Zash
-ENOCTX
mightyBroccoli
It's like 5 messages up 😂
Zash
Then it's scrolled out of view and out of mind, flushed away by quitjoins
Zash
Also what
Zash
I don't see how what you just said has to do with xeplist.xml, if that's what you were talking about
Link Mauve
“It does not enable a component to bind multiple hostnames to one stream (as, for example, a client can bind multiple resource identifiers).”, a client can do that?!
Link Mauve
Is this the reason why @from exists on sent stanzas?
Zash
> <remark>Modified namespace to incorporate namespace versioning; clarified that the value of the <hostname/> element
Are you just looking at the Firefox rendering of the XML?
mightyBroccoli
ok so the xeplist.xml lists all currently known xeps inbox and accepted. Inside in line 5958 this line is invalid.
> Modified namespace to incorporate namespace versioning; clarified that the value of the <hostname/> element can be either <domain> or <domain/resource>.
I did requests.get the xml and read it line directly from that no browser involved
Zash
$ curl https://xmpp.org/extensions/xeplist.xml | grep -o '.......hostname........'
he <hostname/> el
Zash
I think you're holding it wrong
Zash
Or you're printing the text content, after unescaping.
mightyBroccoli
damn i found the error. I need to reply.content.decode to get the correct format :) thank you though :)
matlaghas left
dwdhas left
dwdhas joined
lorddavidiiihas left
lorddavidiiihas joined
Dave Cridlandhas left
dwdhas left
Dave Cridlandhas joined
dwdhas joined
tahas left
Dave Cridlandhas left
Dave Cridlandhas joined
dwdhas left
dwdhas joined
Dave Cridlandhas left
Dave Cridlandhas joined
dwdhas left
dwdhas joined
dwdhas left
goffihas joined
danielhas left
danielhas joined
labdsfhas joined
matlaghas left
matlaghas left
dwdhas joined
jerehas joined
tahas joined
tahas left
Alexhas joined
Alexhas left
jerehas left
Dave Cridlandhas left
Dave Cridlandhas joined
dwdhas left
dwdhas joined
Dave Cridlandhas left
Dave Cridlandhas joined
dwdhas left
dwdhas joined
Valerianhas joined
danielhas left
danielhas joined
goffihas left
dwdhas left
pep.has left
danielhas left
danielhas joined
danielhas left
danielhas joined
lorddavidiiihas left
lovetoxhas left
matlaghas left
danielhas left
danielhas joined
danielhas left
danielhas joined
dwdhas joined
Tobiashas left
Tobiashas joined
danielhas left
danielhas joined
danielhas left
danielhas joined
danielhas left
danielhas joined
lskdjfhas joined
moparisthebesthas joined
lovetoxhas joined
Marandahas left
Marandahas left
Marandahas joined
lhas joined
Marandahas left
Marandahas joined
danielhas left
Marandahas left
matlaghas left
Dave Cridlandhas left
Dave Cridlandhas joined
dwdhas left
dwdhas joined
danielhas joined
danielhas left
danielhas joined
Marandahas left
Dave Cridlandhas left
dwdhas left
Dave Cridlandhas joined
dwdhas joined
dwdhas left
vanitasvitaehas joined
mightyBroccoli
etag header is way easier then Last-Modified header. I choose etag and it works like a charm :) thanks :)