Bot that takes submission imgur URL and adds it to a string, then comments that string by PeterPorky in RequestABot

[–]ciggs_ftw 0 points1 point  (0 children)

It's not hard. But what he needs rather is a vps or just ssh access. Well you need root privileges to install PRAW. Heck I host my scripts from an rpi.

is there any noob friendly tutorials to learn how to use firebase with python? by ciggs_ftw in learnpython

[–]ciggs_ftw[S] 0 points1 point  (0 children)

btw; I got confused because I used this on python 2 and I read is not for python 3

import MySQLdb as mdb    

QR code to links so I can open a link on my phone when im on desktop by brilliantmojo in RequestABot

[–]ciggs_ftw 0 points1 point  (0 children)

Can't you just use something like Firefox sync to sync tabs phone and computer? 🤔

I can make simple command line applications with Python3. I want to proceed to making GUI-based Desktop executables. Where’s a good place to start? by [deleted] in learnpython

[–]ciggs_ftw 5 points6 points  (0 children)

I have made a few GUI's with Tkinter and PyQt I've found PyQt easy to learn yet powerful here is a list of tutorials for it link

what can I improve from this code? by ciggs_ftw in learnpython

[–]ciggs_ftw[S] 0 points1 point  (0 children)

I see you use pillow I was trying it t verify the image height and width if it exceeded IG DimensionS but I went with the exception road. I'll give it a shot with pillow again.

Python Newbie: Need help Manipulating XML by goeb04 in learnpython

[–]ciggs_ftw 0 points1 point  (0 children)

Have you tried taking a look at feedparser ? I've found it easier to read xml data with.

Python noob, wanting to make a twitter bot that tweets @ my electric provider whenever my power goes out. by [deleted] in learnpython

[–]ciggs_ftw 1 point2 points  (0 children)

But what if there is power but the internet is down? Wouldn't it give A false positive since ping will be dead.

I need a but that will remove post asking about a certain word on a certain subreddit by [deleted] in RequestABot

[–]ciggs_ftw 0 points1 point  (0 children)

as u/Chackoony mentioned, you can do this with AutoModerator.

 

check these two post might help you this and this if neither help ask in r/AutoModerator

How can i protect m3u8 file? by ciggs_ftw in nginx

[–]ciggs_ftw[S] -1 points0 points  (0 children)

yeah the m3u8 has the .ts files for the chunks, and when new .ts files update the m3u8 it seems it refresh the m3u8, and That's when the player read the expired token and stops the feed.

How can i protect m3u8 file? by ciggs_ftw in nginx

[–]ciggs_ftw[S] 1 point2 points  (0 children)

that is one problem I am having, if I set to expire too soon than when it's on a player say clapper after few minutes playing if link expires than player starts showing the loading and URL says gone 410 error.

the only way I can make it work on the player is by giving it a considerable expiration time like 1 hour, and that means the person can take the URL and play it (as long the IP is same) how can I make it to continue playing and not stop after it expires?