# vignesh24g/bing_exp architecture

> Architecture diagram of the GitHub repository vignesh24g/bing_exp, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-05). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/vignesh24g/bing_exp
- Repository: https://github.com/vignesh24g/bing_exp

## Overview

This repository contains standalone Python scripts for authenticated Bing search automation, plus a session-health checker. The main workflow launches Chromium, generates queries, and runs desktop and mobile searches using saved browser state; a separate script adds image-based visual search. The checker reports cookie expiry and tests whether Bing serves a usable search page. The README gives no further product detail, so this map follows the sampled scripts and does not infer links between them.

Main entry points: [`check_bing_session.py`](https://github.com/vignesh24g/bing_exp/blob/main/check_bing_session.py) (Session health), [`bing_search_24gv.py`](https://github.com/vignesh24g/bing_exp/blob/main/bing_search_24gv.py) (Desktop searches), [`bing_search_vizz.py`](https://github.com/vignesh24g/bing_exp/blob/main/bing_search_vizz.py) (Vizz searches), [`tempbing.py`](https://github.com/vignesh24g/bing_exp/blob/main/tempbing.py) (Visual search)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_automation["Search automation"]
  node_desktop24["Desktop searches"]
  node_mobile24["Mobile searches"]
  node_vizz["Vizz searches"]
  node_visual["Visual search<br/>[tempbing.py]"]
end

subgraph group_session["Session checking"]
  node_sessioncheck["Session health"]
end

subgraph group_inputs["Saved state"]
  node_state24["24gv state<br/>[auth_24gv.json]"]
  node_statevizz["Vizz state<br/>[auth_vizz.json]"]
end

node_user(("Operator"))
node_bing["Bing"]
node_picsum["Picsum images"]

node_user -->|"runs"| node_desktop24
node_user -->|"runs"| node_mobile24
node_user -->|"runs"| node_vizz
node_user -->|"runs"| node_visual
node_user -->|"runs"| node_sessioncheck
node_desktop24 -->|"loads"| node_state24
node_mobile24 -->|"loads"| node_state24
node_vizz -->|"loads"| node_statevizz
node_visual -->|"uploads image"| node_bing
node_desktop24 -->|"searches"| node_bing
node_mobile24 -->|"searches"| node_bing
node_vizz -->|"searches"| node_bing
node_visual -->|"fetches image"| node_picsum
node_sessioncheck -->|"checks"| node_state24
node_sessioncheck -->|"checks"| node_statevizz
node_sessioncheck -->|"tests search"| node_bing

click node_desktop24 "https://github.com/vignesh24g/bing_exp/blob/main/bing_search_24gv.py"
click node_mobile24 "https://github.com/vignesh24g/bing_exp/blob/main/bing_search_24gv.py"
click node_vizz "https://github.com/vignesh24g/bing_exp/blob/main/bing_search_vizz.py"
click node_visual "https://github.com/vignesh24g/bing_exp/blob/main/tempbing.py"
click node_sessioncheck "https://github.com/vignesh24g/bing_exp/blob/main/check_bing_session.py"
click node_state24 "https://github.com/vignesh24g/bing_exp/blob/main/auth_24gv.json"
click node_statevizz "https://github.com/vignesh24g/bing_exp/blob/main/auth_vizz.json"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_desktop24,node_mobile24,node_vizz,node_visual toneBlue
class node_sessioncheck toneAmber
class node_state24,node_statevizz toneMint
class node_user,node_bing,node_picsum toneIndigo
```

## Components

### Search automation

- [Desktop searches](https://github.com/vignesh24g/bing_exp/blob/main/bing_search_24gv.py): `bing_search_24gv.py`
- [Mobile searches](https://github.com/vignesh24g/bing_exp/blob/main/bing_search_24gv.py): `bing_search_24gv.py`
- [Vizz searches](https://github.com/vignesh24g/bing_exp/blob/main/bing_search_vizz.py): `bing_search_vizz.py`
- [Visual search](https://github.com/vignesh24g/bing_exp/blob/main/tempbing.py): `tempbing.py`

### Session checking

- [Session health](https://github.com/vignesh24g/bing_exp/blob/main/check_bing_session.py): `check_bing_session.py`

### Saved state

- [24gv state](https://github.com/vignesh24g/bing_exp/blob/main/auth_24gv.json): `auth_24gv.json`
- [Vizz state](https://github.com/vignesh24g/bing_exp/blob/main/auth_vizz.json): `auth_vizz.json`

### Other components

- **Operator**
- **Bing**
- **Picsum images**

## Connections

- Operator → Desktop searches: runs (evidence: `bing_search_24gv.py`)
- Operator → Mobile searches: runs (evidence: `bing_search_24gv.py`)
- Operator → Vizz searches: runs (evidence: `bing_search_vizz.py`)
- Operator → Visual search: runs (evidence: `tempbing.py`)
- Operator → Session health: runs (evidence: `check_bing_session.py`)
- Desktop searches → 24gv state: loads (evidence: `bing_search_24gv.py`)
- Mobile searches → 24gv state: loads (evidence: `bing_search_24gv.py`)
- Vizz searches → Vizz state: loads (evidence: `bing_search_vizz.py`)
- Visual search → Bing: uploads image (evidence: `tempbing.py`)
- Desktop searches → Bing: searches (evidence: `bing_search_24gv.py`)
- Mobile searches → Bing: searches (evidence: `bing_search_24gv.py`)
- Vizz searches → Bing: searches (evidence: `bing_search_vizz.py`)
- Visual search → Picsum images: fetches image (evidence: `tempbing.py`)
- Session health → 24gv state: checks (evidence: `check_bing_session.py`)
- Session health → Vizz state: checks (evidence: `check_bing_session.py`)
- Session health → Bing: tests search (evidence: `check_bing_session.py`)
