- it doesnt work
regular expression help. explanation of different commands and arguments for docker. questions about cloud hosting. print_shelf.py (not used in the project)
regular expression help. explanation of different commands and arguments for docker. questions about cloud hosting. print_shelf.py (not used in the project)
LOL twitter is a little buggy as i am typing this
added a function to access the shelf without calling the api…
i should have used a database. my architecture and how i am placing the data is in…total shambles.
there were some errors so i fixed them too.
i think this project is coming to a close?
pretty satisfied with what i have done though my brain rot on x has been already solved by restricting the website on my phone.
ALSO i did not expect to host or complete this project. so I am a little surprised that i pushed through.
im gonna write the ship thing tomorrow morning… good night
Log in to leave a comment
im broke, living on FREE TWITTER API credits. and Deepseek to translate. so ummm…. technically its for my own use but i got to ship and present it to some extend
so i created a decorator that ONLY allows ME to change some configurations. hahahaha ok sorry but yes. and… im tired…
Hello
Commands:
/get_acc_list - View all accounts in list
/get_interval - View the current interval
/set - Start automatic Twitter monitoring
/unset - Stop Twitter monitoring
/help for help
Please no
/update - Get the latest twitter update
/add_acc - Add an account
/delete_acc - Delete an account
“””
holy smokes i deployed it but i need someone else to help me test it out
Log in to leave a comment
i feel so cooked hosting is a headache and i have 0 experience im surviving on the mercy of tutorials and i should not have used polling. im feeling very discouraged now…. cries
i should have taken account that i can’t run an instance 24/7 technically i can because of free 90 day google cloud $300 credits thank the heavens but i am. i am upset.
But yes. Images and videos work now.
Log in to leave a comment
ok i realised i may have took a longer way i should have researched more in depth first…
so uhhh i can now add remove view accounts tracked in memory…
and the extraction logic is covered but i still have to find ways to send and display it back to me
it should be easy to call the extraction function since i encapsulated it pretty nicely but we will never know till tmr.. right…
things i need to do:
someone please advice
Log in to leave a comment
omg chat i got it 😭😭😭😭😭😭😭😭 sorry
Log in to leave a comment
hi… am back…
learnt a little bit of docker from youtube and then i tried to apply it because uhh i think i have to host it? i had to do a lot of research because honestly i don’t know what to do. im also gonna try to deploy it o google cloud using cloud run. hopefully i can get it to work.
downloaded the media from the tweets… i couldn’t get the videos to work only the images sadly. lowkey ripped it off stack overflow LOL… WAIT WAIT WAIT i sliced it wrong omg maybe i can?!! actually!?!?! next devlog…
i was literally jumping for joy when i saw the image at the bottom omg feat. tukutz from epik high
Log in to leave a comment
created a translation class which helps to translate the korean tweets, by passing it into deepseek. yippee !
what’s probably next:
Log in to leave a comment
hello i am back…
i refactored my code because it was too spaghetti… now it is in 4 classes instead of 1 file. it took me about 1.5 hours.
the other 2 hours, i explored what the response of the http request was and the response gave a lot of information. tried sieving through it myself, but i found it difficult(?) not sure maybe because its 3 and im sleepy. it was in a python dict but i couldn’t find the key and values and i had a lot of errors. after many failed attempts to do so, i used a little bit of chatgpt to help me find where the information was in. then i implemented shelf.
since it is retrieving the tweets correctly now, my future plans are:
Log in to leave a comment
um… at first, i searched for the pricing of x api. and it was really expensive.
then i tried web scraping using playwright and beautiful soup.
however, after digging and trying for an hour, i realise that their anti bot prevention makes it really hard to do so. i had to pivot to other methods.
i browsed the web and saw some free api options, which hopefully can last me the whole of my project.
i decided on using twitterapi.io api. it took me a while to get the advanced search syntax, but i managed to. this is just a simple api retrieval but i am excited on what i can do tomorrow. im not sure what attachment to put since there really isn’t much… uh…
Log in to leave a comment