Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    RYeah Sh
    @pantchox
    @peterdemin I am working on a web app that one of its features are real time push notifications for desktop and mobile. do you think there is enough demend for Kibitzr users for that feature?
    Peter Demin
    @peterdemin
    Hi, thanks for asking! What's the benefit of push notification over a chat message, in Telegram, for example?
    RYeah Sh
    @pantchox
    yeah
    my solution is web app so you just use a browser
    you don't need to install any dedicated app like telegram. also inviting others is easy and you don't need to force them to download an app, example telegram
    RYeah Sh
    @pantchox
    sorry let me rephrase. when you use a chat app, if you already telegram user or pushbullet that is fine. i am offering another alternative that is more light weight, easy API integration and can be accessed from a browser. you can also login from the device you prefer to receive push notifications and the same goes for other users you invite them for the channel. the channel is same as a chat channel but with the API it becomes some kind of a backlog of messages where you can trigger the push nofitication on the device of your choice
    Peter Demin
    @peterdemin
    Sounds interesting. Could be useful for security-inclined folks.
    RYeah Sh
    @pantchox
    @peterdemin can you explain what do you mean by saying security-inclined?
    Peter Demin
    @peterdemin
    Is this a webhook?
    RYeah Sh
    @pantchox
    to access the API yes.
    Peter Demin
    @peterdemin
    Ah, I mean you don't need to have a chat account to receive notifications
    RYeah Sh
    @pantchox
    you do need
    Peter Demin
    @peterdemin
    Ah, I see. Anyways, you can use Zapier notifier as an example: https://github.com/kibitzr/kibitzr/blob/master/kibitzr/notifier/zapier.py
    I'll be happy to review the PR.
    RYeah Sh
    @pantchox
    should be the same since its a webhook
    super thx
    Peter Demin
    @peterdemin
    :thumbsup:
    RYeah Sh
    @pantchox
    but for Zapier and IFTTT to trigger the notification you do need to download their app :)
    Peter Demin
    @peterdemin
    Well, not sure if Zapier has an app - it's more like SaaS routing for webhooks. Can be configured to send an email for example.
    RYeah Sh
    @pantchox
    with my web app you don't need. there is also a nice way to install the web app on your Android mobile so it becomes a native app just like any other app but it is more advanced and not related to this discussion.
    @peterdemin yes but if you want to be notified by push notification it can be done by downloading their app and the app that will show the push notification will be Zapier/IFTTT
    Chad
    @chof64
    Hello, I just came across Kibitzr, and it is interesting. I would like to ask, is there a built-in solution for Kibitzr to solve captchas, or something like a workaround for it?
    Peter Demin
    @peterdemin
    Hi, I don’t know of any applications for this. I suspect it could be accomplished with browser extension.
    Paul Massendari
    @paulmassen
    Hi @peterdemin , for a specific url, I can't seem to make the tag check works (it works on other pages). Kibitzr sends back the whole page. Do you see any reason for that? :
      - name: NicWestermann
        url: http://www.nicwestermann.co.uk/
        transform:
          - tag: "title"
          - text
          - changes: verbose
        notify:
          - telegram
    Peter Demin
    @peterdemin

    @paulmassen Is it what you expect on this site?

    The site is down so I can collate the orders taken this month. If you already have an invite it you will still be able to order when we are open again.

    It doesn't run through the transforms and shortcuts to notify, because website returns status code 500.
    $ kibitzr -l debug once
    2021-10-19 10:39:28,729 [DEBUG] kibitzr.conf: Loading settings from .../kibitzr.yml
    2021-10-19 10:39:28,816 [INFO] kibitzr.fetcher.loader: Fetching NicWestermann at http://www.nicwestermann.co.uk/
    2021-10-19 10:39:28,822 [DEBUG] cachecontrol.controller: Looking up "http://www.nicwestermann.co.uk/" in the cache
    2021-10-19 10:39:28,823 [DEBUG] cachecontrol.controller: No cache entry available
    2021-10-19 10:39:28,823 [DEBUG] urllib3.connectionpool: Starting new HTTP connection (1): www.nicwestermann.co.uk:80
    2021-10-19 10:39:29,625 [DEBUG] urllib3.connectionpool: http://www.nicwestermann.co.uk:80 "GET / HTTP/1.1" 500 1200
    2021-10-19 10:39:29,626 [DEBUG] cachecontrol.controller: Status code 500 not in (200, 203, 300, 301)
    2021-10-19 10:39:29,626 [DEBUG] kibitzr.transformer.factory: Notifying on error
    Paul Massendari
    @paulmassen
    Ahh, I see, that must be because of the error 500 then. Yes, I would like to get notified when this website is back online, and as I guess most of the css selectors won't be present when the site changes, I thought I should use the title tag, which is always here.
    I should have tried the debug, I will note that for next time
    A notification for when the check fails would be nice
    Peter Demin
    @peterdemin
    You can treat 500 as a valid HTTP status code like so:
    checks:
      - name: NicWestermann
        url: http://www.nicwestermann.co.uk/
        valid_http: [200, 500]
        transform:
          - tag: title
          - text
          - changes: verbose
        notify:
          - telegram
    Paul Massendari
    @paulmassen
    Oh, that will be helpful for an uptime monitor, thanks
    Weibin Zheng
    @menghuanpy
    I want to login a moodle website, and then do some checks. But I don't find a way to do it.
    Weibin Zheng
    @menghuanpy
    I find a solution from https://peter.demin.dev/kibitzr-banks.html. It seemed a 'delay: 5' needed.
    Peter Demin
    @peterdemin
    Yes, basically, you need to enforce the usage of Firefox to run Javascript, and also give it some time to complete.
    Weibin Zheng
    @menghuanpy
    how to get some pages in sequence after form login? If I have several checks, it seems each check login and pull data separately. Am I missing anything?
    Peter Demin
    @peterdemin
    You can use stash inside of selenium scenario to aggregate data from multiple pages. That requires some selenium and Python knowledge though
    Weibin Zheng
    @menghuanpy
    I cannot follow you. I need to get pages in sequence from one login session.
    Weibin Zheng
    @menghuanpy
    Hope a recipe ...
    Paul Massendari
    @paulmassen
    @menghuanpy did you try using kibitzr firefox, and then logging in to the website ?
    that way, no need to log in every time
    Weibin Zheng
    @menghuanpy
    @peterdemin @paulmassen thx. I will try ...
    Kevin
    @zimdanen:matrix.org
    [m]
    Is there a way to have kibitzr log out of a site after it's scraped what it needs?
    So the session doesn't remain open on the server side.
    Kevin
    @zimdanen:matrix.org
    [m]
    Also, is there a way to have a persistent firefox session while running in a docker container? Since everything I want to authenticate against requires a 2FA SMS.
    Peter Demin
    @peterdemin
    Hey @zimdanen:matrix.org, you can configure a separate check that goes to the same website and logs out.
    Yes, the Firefox remains open while the kibitzr is running. You can record a persistent session with 2fa passed using kibitzr firefox command.
    1 reply
    Peter Demin
    @peterdemin
    I see, there is a way to run docker with UI enabled. I don’t remember how it works though. Also, the session doesn’t need to be recorded inside of the container, it’s okay to copy it over if the version matches AFAIK.
    hkg3ddjw
    @hkg3ddjw_twitter
    Everything about Paramount Plus PS4
    https://videosolo.org/paramount-plus-ps4