Skip to content

Instantly share code, notes, and snippets.

View karolberezicki's full-sized avatar
😉

Karol Berezicki karolberezicki

😉
View GitHub Profile
@karolberezicki
karolberezicki / WykopDownloadPlusedPics.py
Last active February 10, 2019 12:24
This little Python script will download all images that user has upvoted ('plus')
import requests
import itertools
from bs4 import BeautifulSoup
from lxml import html
def wykop_login(username, password):
"""Logging in - not required for scrapping images, but might be usefull."""
session_requests = requests.session()
Get-ChildItem .\ -include bin,obj,bld,Backup,_UpgradeReport_Files,Debug,Release,ipch,.vs -Recurse -Force | foreach ($_) { remove-item $_.fullname -Force -Recurse }

Keybase proof

I hereby claim:

  • I am karolberezicki on github.
  • I am karolberezicki (https://keybase.io/karolberezicki) on keybase.
  • I have a public key ASATpNKf_9uNbzSg74Daolg8n2x2rzL-Bke2iVq10zmO1go

To claim this, I am signing this object: