PW Extractor is a dashboard app for students of Physics Wallah (PW) to access, view, and download course resources such as notes and DPPs from their enrolled PW batches and subjects.
-
Clone the repository:
git clone https://github.com/viraj-sh/pw-extractor.git cd pw-extractor -
Create and activate a Python virtual environment:
python -m venv venv# On Windows: venv\Scripts\activate# On Mac/Linux: source venv/bin/activate -
Upgrade pip and install dependencies:
python -m pip install --upgrade pip pip install -r requirements.txt -
Run the dashboard:
streamlit run streamlit.py
- After launching, the app opens in your browser.
- Login options:
- Paste an existing token from a PW web session (recommended; keeps other sessions active).
- Alternatively, generate a new token with OTP (this will log out from any other active sessions).
- Either visit https://www.pw.live/ and log in, or simply use a browser tab where you are already logged in to pw.live.
- Open the browser developer tools (usually F12 or right click > Inspect), go to the Network tab, and refresh the page.
- Filter by
token, click theverify-tokenrequest, and look for theAuthorizationheader in the request headers. - Copy the value after
Bearerand paste it in the login form of this dashboard.
- Select your batch, subject, and chapter/topic.
- View or download notes and DPPs individually, or download all as a zip file.
- DPP Quiz and Announcements are upcoming features.
- Logging out removes the local session token; your other PW sessions remain unaffected.
This app is designed to help PW students manage and access their enrolled study resources—notes, DPPs, and other course files—more efficiently. It does not provide access to video lectures or any protected content. Usage is limited to your own legitimately enrolled courses on pw.live.
- Dashboard design improvements
- DPP quiz viewing and downloads with solutions
- Announcements integration and export to Discord/Telegram/Email
- Enhanced error handling and new user help
- More file management features
We welcome suggestions. Please use GitHub Issues or pull requests for any feedback or contributions.
If you encounter problems, open an issue on GitHub. Contributions are welcome.
This project is only for legitimate users of pw.live. Unauthorized or unintended use is not supported. Piracy or commercial misuse is not tolerated.