sunjester
Members-
Content Count
21 -
Last visited
Community Reputation
1 NeutralRecent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
-
what about some more games for gambling like poker, blackjack, checkers, or chess
-
just use wget. wget -nc -p https://www.example.com/
-
https://www.securityweek.com/eu-slap-google-fresh-fine-sources
-
Bitcoin Mixing Service BestMixer.io Now Available on Tor
sunjester posted a topic in Internet & Tech
https://darkwebnews.com/cryptocurrency/bestmixer-btc-mixing-service-available-on-tor/ -
you could play games like most all other kids do. its a waste of time.
-
maybe when a mod is made a mod you guys should make sure they know how to use the forum and its functionality. I was banned from the shoutbox for using a shoutbox command that made my text red. I didn't use a bbcode. this is sign that the mod has no clue about what commands the shoutbox has. how can you ban someone from using the functionality of the shoutbox? it's poor judgement on whoever made the guy a moderator. its actually a command that started in IRC a long time ago: /me
-
cable tv is dead. the actors who jumped on board with nettv will forever be heroes.
-
i dont use discord (or any messaging app/platform), but you can pm me here or email me [email protected] im a full stack developer.
-
https://horrornews.net/
-
wget -nc --recursive https://example.com/
-
Introduction I normally don't use python very much. However, I can always jump right into using it since I know how to properly read documentation. I am going to show you how you can read some documentation and start making requests to websites through python and the requests library. As with all my tutorials we will be using Linux (ubuntu xenial), and no I will not cater to the Windows kids. Requirements This tutorial will require a few things, including python. I am using 2.7 (most of you probably use 3, I don't.). Python >= 2.7 pip >= 19.03 python requests library >= 2.21 Checking Versions with Pip You can easily check the requests version, or if it's even installed like this pip show requests Documentation The website for the requests library is found here. We will be following the documentation and using the software as intended by the developers, which should give you an insight into reading documentation and finding/using other libraries. Including the Library It's pretty easy to add the library to your script. Like almost all other libraries, using the import keyword. import requests Getting HTML We can use a simple line of code to requests an HTTP GET request for HTML of a web site. req = requests.get("https://www.imdb.com/title/tt0093177/") This is where reading the documentation will come in handy. The code above will make the request to the IMDB page, but printing the req variable probably won't give you what you are looking for, so let's see what the will do. It printed the response code. Back on the website (documentation) we see that it's a response object, which is probably why it has the angle brackets around it also. Response Object Documentation Since it returned an object, let's go see what the properties of this object are in the documentation. Here is the documentation for the Response object of the Requests library. We can see there are a few things here, let's try to use content and see if we get the source. #!/usr/bin/env python import requests req = requests.get("https://www.imdb.com/title/tt0093177/") print req.content Yep, there is the source.
-
There comes a time when you need to format some JSON in unix, in that case, use jq. Install jq sudo apt-get -y install jq Using jq So let's parse some JSON, let's use the nulled feed, first download the feed to a file curl -s https://www.nulled.to/misc.php?action=getFeed >feed Now let's parse some of it, let's try the home stuff jq '.home' feed so if we wanted to get the titles from the .home section of the feed jq '.home[].title' feed #!/bin/sh curl -s https://www.nulled.to/misc.php?action=getFeed >feed jq '.home[].title' feed rm feed