Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/env python3
- """
- I got the idea from here: https://www.heise.de/forum/heise-online/Kommentare/DNS-Panne-heise-de-landet-bei-1-1-im-Copyright-Filter/Re-Zum-Glueck-nur-1-1-ohne-IP-Sperren/posting-42441068/show/
- It is very nice from cuii.info to provide us with the best sharing sites on the web
- You should use a free non-filtering DNS-Server or better, use Unbound.
- You need also requests and bs4 to run this code
- """
- import requests, bs4
- def get_illegal_urls():
- doc = bs4.BeautifulSoup(
- requests.get("https://cuii.info/empfehlungen/").content, "lxml"
- )
- return [
- "http://" + element.text.split()[0].lower()
- for element in doc.select("span[itemprop=text]")
- ]
- print("==== Good warez sites ====")
- for url in get_illegal_urls():
- print(url)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement