Some of the utilities I made to facilitate me while using PhysicsWallah's website.
Since there is no dark mode released officially yet, here is the custom one I made, to be honest, it just works :)
- Open DarkMode.js and copy all of it's contents.
- Open PW's Website and login.
- Press
Ctrl + Shift + I
to open Inspect Element Window. - Head over to the
Console
tab. - Paste the code you copied earlier and press enter.
- Enjoy your Dark Mode >_< Note: You need to do this everytime you open the website, i.e "refresh" the page or open the website in another tab, so better save this somewhere from where you can access it quickly. Though, you won't need to repeat the steps until you don't refresh the page.
You will see two additional buttons on the left sidebar as shown below.
- Change Theme - This button will allow you to change theme from light to dark and vice versa. [Shortcut Keybind:
Shift + Alt + D
] - Fix Images - This button will attempt to fix the inversion caused in the images as well. [Shortcut Keybind:
Shift + Alt + F
]
Pausing/Seeking requires user to use mouse by clicking the buttons. This allows you to control the video player using keyboard.
- Open PlayerControls.js and copy all of it's contents.
- Open PW's Website and login.
- Open the lecture/video you want to watch
- Play the video and pause it once.
- Press
Ctrl + Shift + I
to open Inspect Element Window. - Head over to the
Console
tab. - Paste the code you copied earlier and press enter.
- Done :D
Note: You need to do this everytime you open the website, i.e "refresh" the page or open the website in another tab, so better save this somewhere from where you can access it quickly. Though, you won't need to repeat the steps until you don't refresh the page.
- Spacebar - Play/Pause
- Left Arrow - Seek Backward (10s)
- Right Arrow - Seek Forward (10s)
- Up Arrow - Increase Volume (By factor of 10)
- Down Arrow - Decrease Volume (By factor of 10)
Note: Do not click on seek buttons (using mouse) after entering the code, else the spacebar keyboard control will not work properly (problem with the video player itself, and I can't do anything about it), though if you have clicked it, just click on play/pause button (using mouse) once and it will get fixed :)
Manually Operated Rich Presence Client for Discord
- Install https://python.org/downloads/ on your system (tested against v3.8)
- Install requirement by using
pip install pypresence
(though I've made a check for it, if you forget) - Open PWRpc.py and download it, or copy it's content and create a file named
pwrpc.py
and paste all of the copied content to it. (In short, replicate the file in your system) - From the directory where the file is present, open terminal and run
python pwrpc.py
- Follow the inputs as asked in the screen, and done :)
- Open the terminal and press
Ctrl + C
or close the terminal itself to exit the program.
Note: Please follow the instructions exactly as asked else the program might crash due to invalid inputs since I haven't enabled checks/validations (since I technically made it for myself), if you face any problem, reach me on discord: </Rudransh Joshi>#2022 || If you are a developer and want to use your own client ID, check the python file itself, I've described in comments what to do exactly :)
A generic video downloader for PW [Coming Soon] (Probably after my exams lol)
This project is open source, you are free to modify the code to whatever extent you like just be sure to credit the original author/repository.
Licensed under the MIT License
Contributions are always welcome! Fork the repository, do your edits, fetch the upstream and generate a PR :)
Need to contact the developer(s)? Refer to the below contact(s).