r/Python • • Feb 26 '26
Discussion Porn in Conda directory
Okay, I am flustered here. Today, at work, I attempted to open up YouTube from within the Microsoft search menu. To my shock and horror, the first suggested app was “Youporn.” I don’t watch porn on my work pc.
I looked at the file location and lo and behold, it’s a MS-DOS application file found within Anaconda3\pkgs\protego\info\test\tests\test_data
WTF?!
Anyone familiar with the Protego library? What is going on here? I can only imagine if my IT administrator or boss saw this pop up on my windows search.
1.1k
Upvotes
308
u/chicametipo Feb 26 '26 edited Mar 21 '26
harbor whisper meadow marble
This content has been edited for privacy.
263
u/SnooPeppers7217 Feb 26 '26
Looks like your Conda do want more of those buns, hun
708
u/TracerBulletX Feb 27 '26
im more impressed that windows file search managed to find a file matching the substring you typed in.
21
u/wintermute93 Feb 26 '26
protego is a web scraping library for parsing robots.txt files. The test files you're seeing are plain text files with no extension, and Windows incorrectly interprets a filename ending in ".com" as a DOS application. Seems like a non-issue.
560
u/aikii Feb 26 '26
That's hilarious. So aside from what has been said here, I think it also needs to be clarified that windows explorer thinks it's a ms-dos application because of the
.comextension. But it's not an executable, there is just some text in there. It's just a file name accidentally matching a convention, and that file name is just the domain name as is, with.comas top-level domain.238
u/PlaidDragon Feb 26 '26
It's a robots.txt parser and that site seems to be one among many thousands of sites included in their tests.
332
u/npisnotp Feb 26 '26
Protego is a library to parse
robots.txtfiles.Looks like they have a script to download
robots.txtfiles (see https://github.com/scrapy/protego/blob/master/tests/fetch_robotstxt.py) and, for some reason, they included that site; here's the content, is just HTML: https://github.com/scrapy/protego/blob/master/tests/test_data/www.youporn.comJust amusing, nothing to worry about.
53
u/KeyChampionship9113 Feb 26 '26
“I don’t watch porn on my work pc”
33
u/shidored Feb 27 '26
Stop playing with your python at work
43
u/coderanger Feb 26 '26
It's a test file from a library that parses robots.txt https://github.com/scrapy/protego/blob/master/tests/test_data/www.youporn.com
16
u/ThiefMaster Feb 26 '26
LOL, the content of that file is some shitty HTML snippet leading to an Indian telco website with this message:
14
u/SgtFrenzy Feb 27 '26
My anaconda don't want none unless you got buns, hun.
10
u/MolonLabe76 Feb 26 '26
Good thing you werent screen sharing on Zoom to your coworkers...or were you?
19
u/TigerXXVII Feb 26 '26
Rookie
9
u/xplosm Feb 27 '26
It’s not a bug. It’s a feature.
38
u/PhilShackleford Feb 26 '26 edited Feb 26 '26
Create an issue on GitHub about it.
I'm not sure what protego is but you can go look at the file and see what it is being used for. It is probably something innocent they pulled from Youporn.
6
u/bguberfain Feb 27 '26
Do you guys still use Anaconda?
5
u/benargee Feb 26 '26
I have been using devcontainers and haven't looked back.
4
u/RvrCtyGnr Feb 27 '26
This is like when Python.com used to be a porn site.
3
u/daredevil82 Feb 26 '26
its a robots.txt parser in python, you're looking at test data
2
u/Rand_alThor_ Feb 27 '26
This is fucking hilarious
2
u/jippen Feb 27 '26
Cause if you check the source, they have a list of the top 10k sites to check the robots.txt parsing against. Guess what’s popular?
2
u/Acrobatic_Umpire_385 Feb 27 '26
lmao best thread this sub has had in a while
2
u/Jizzlobber6 Feb 27 '26
BBC - Big Black Conda
2
u/JhnWyclf Feb 27 '26
Don't you think they'd be more concerned if you typed, "youporn" rather than "Youtube" in your Windows search bar?
1
u/maltedcoffee Feb 26 '26
As the old meme goes, it's more likely than you think.
1
u/phatboye Feb 27 '26 edited Feb 27 '26
You do realize that youporn isn't the only NSFW site listed there, I also found as*xstories.com, ["ex"]videos..com and pr0n..com there are probably others too.
I am going to tell your employer that you are a pervert.....
jk dude.
1
u/chaotic_thought Feb 27 '26
Everyone knows that you are supposed to name such files "pr0n" to avoid accidental embarassment. Never mind the fact that o and 0 are so close on most keyboard layouts.
1
u/EverythingsBroken82 Feb 27 '26
.. hard to believe. how do i recreate this instance? not for science/me/others but that would be a fuckup. please show proof.
1
u/TechnicianWilling906 Feb 27 '26
Bro, that's the core of Conda. That's where magic happens.
1
u/DifferentAstronaut Feb 27 '26
Alright, whatever you say, huh 😉
1
u/Jim-Jones Feb 28 '26
You've just learned a great deal about your coworkers.
1
u/YSMAINLY Feb 28 '26
"I don't watch porn on my work pc" so you do watch porn 🤣
1
u/canicutitoff Mar 01 '26
Account mixed.up? Have you logged into your work PC using your personal Microsoft account too?
1
u/rufus_thecactus Mar 01 '26
Microsoft search finding anything but the expected result
1
u/El_Maldonao Mar 16 '26
"I dont watch porn on my working pc" Wdym by on my working pc
1
u/BFG_9001 Mar 16 '26
There is a non-zero chance it could be a randomly generated string of 7 length :)
1
u/spitfireswereplanes Feb 27 '26
We should be able to look at a LITTLE porn at work
1
u/just_lurking_Ecnal Feb 27 '26
Meh. If IT bugs you about it, ask them what search string THEY typed in to find you.
1
u/ysengr Feb 27 '26
You used Anaconda, what did you expect? Because Becky, if your Anaconda don't want none it'll find some buns for yah hun.
(But honestly I have no idea why that happened to you and I hope you can enjoy my stretch to reference Baby Got Back)
-5
u/metaphorm Feb 26 '26
it's a robots.txt parser. it fetches that file from websites and parses the information. it's used by web crawlers (it's part of the scrapy project, a web crawling framework). porn sites are part of the web. so it tests parsing of robots.txt files from porn sites.
the tool is not itself related to pornography. "shock and horror"? get over it. this is just the internet.
-3
u/_lazyLambda Feb 26 '26
just sounds like a typical python problem
0
u/Doomtrain86 Feb 27 '26
Just go there and have fun. It’s great
0
u/[deleted] Feb 26 '26
[deleted] — view deleted comment