Skip to main content

Posts

Showing posts with the label free

Download Insta Profile pictures using python method 1

""" Spyder Editor This is a temporary script file. """ import requests from bs4 import BeautifulSoup username = "usernamea" #enter above user name of the person you want to download the instagram profile picture URL="https://www.instagram.com/{}/" rq = requests.get(URL.format(username)) ss =BeautifulSoup(rq.text,"html.parser") w=ss.find("meta",property="og:image") url= w.attrs['content'] with open(username +' .jpg', "wb") as pic:   binary= requests.get(url).content   pic.write(binary) #instagram #profile #download #picture #method 1 check the variable url output & copy that url & paste in browser to open the picture

Free 4k Lake powell Canyons video

Stock video of  Lake Power Canyons

Weather Scrapper using python

Beautiful  Soup  is  a  library  which  facilitates  the  scraping  of  information  from  web  pages.  It    sits  atop  an  HTML  or  XML  parser,  providing  Pythonic  idioms  for  parse  tree  iteration,  searching,  and  alteration. Beautiful  Soup  is  a  library  which  facilitates  the  scraping  of  information  from  web  pages.  It  sits  at  the  top  of  an  HTML  or  XML  parser,   providing  Pythonic  idioms  to  iterate,  search,  and  modify  the  parser  tree. Copy below source code: libraries required: Requests & bs4 or BeautifulSoup import requests from bs4 import BeautifulSoup search = "Weather in CALIFORNIA" url = f"https://www.google.com/search?&q={search}" req = requests.get(url) aw = BeautifulSoup(req.text, "html.parser") update = aw.find("div" ,class_="BNeawe").text #python #code #webscrapper 

EMPLOYEE MANAGEMENT SYSTEM PROJECT CODE

EMPLOYEE MANAGEMENT SYSTEM PROJECT CODE A - Below is the source code of the project. B - Create separate class files for every class. C - Copy the code of one class (ex: login.java) and paste it in Login class file, do it for every class . #stream #blog #knowledge 1 - Create your first class with name 'conn' and paste the code below in it  package Employeee; import java.sql.*; public class conn{        public Connection c;     public Statement s;     public conn(){         try{             Class.forName("com.mysql.jdbc.Driver");             c = DriverManager.getConnection("jdbc:mysql:///project3","root","");             s = c.createStatement();         }catch(Exception e) {             e.printStackTrace();         }     } }   2 - Create second class with name 'Login' and paste the code below in it package Employeee; import java.awt.*; import javax.swing.*; import java.awt.event.*; import java.sql.*; cl