← back to Rentv Sheet Enrich
__pycache__/team_vp.cpython-314.pyc
64 lines
+
>~j� � � � R t ^ RIt^ RIt^ RIt^ RIt^ RIt^ RIt^ RIt^ RI H
t
Rt]P P RR4 t]P ! 4 tR]n ]P$ ]n RR/t]P* ! R ]P, 4 t]P* ! R
4 tR tR tR
tR tR t]R8X d
]! 4 R# R# )u�
team_vp.py — $0 LOCAL Marketing/VP finder. All local: headless urllib fetch of a company's
own Team/Leadership/About pages + Muse (glimmer, local Ollama) to EXTRACT the marketing
lead from the REAL page text. Anti-fabrication: the extracted name must literally appear
in the fetched text, else dropped. No Browserbase, no Exa, no cloud.
Usage: team_vp.py [limit] (processes companies that have a Website but no Marketing/VP Name)
N)�ThreadPoolExecutori W: �VP_MODELzmuse-glimmer:30b-mlxFz
User-Agentz@Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15) AppleWebKit/537.36z�(chief marketing|vp[, ]+marketing|vice president[, ]+marketing|marketing (director|manager|officer)|head of marketing|director[, ]+marketing|marketing & communications|communications director)z<[^>]+>c �� � \ P P \ P P V \ R 7 ^\
R7 P
R4 P RR4 # \ d R# i ; i))�headers)�timeout�contexti� zutf-8�ignore� ) �urllib�request�urlopen�Request�UA�ctx�read�decode� Exception)�us &�8/Users/macstudio3/Projects/rentv-sheet-enrich/team_vp.py�fetchr sf � ����&�&�v�~�~�'=�'=�a��'=�'K�TU�^a�&�b�g�g�hn�o�v�v�w~� @H� I�
I����R��s �A'A) �)A8�7A8c �0 � R pR Fp pR Fg p\ W0, V, 4 pV'