This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from time import sleep | |
| from selenium import webdriver | |
| from selenium.webdriver.common.by import By | |
| URL = "https://chartink.com/screener/manas-arora-vcp-pattern" | |
| def open_website(): | |
| # Based on https://community.render.com/t/chromedriver-is-assuming-that-chrome-has-crashed/13237/7 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // 6th Nov 2025 version | |
| var load = 0; | |
| while (load < 20) { // load more x times | |
| console.log("Loading more...") | |
| var buttons = document.getElementsByClassName("_987acc4a") | |
| for (var i = 0; i < buttons.length; i++) { | |
| if (buttons[i].innerText.includes("Load more")) { | |
| buttons[i].click(); | |
| await new Promise(r => setTimeout(r, 5000)); | |
| break; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @Configuration | |
| public class RouterConfig { | |
| @Bean | |
| public RouterFunction<ServerResponse> getUsers(SampleHandlerFunction sampleHandlerFunction) { | |
| return RouterFunctions.route(RequestPredicates.GET("/users").and( | |
| RequestPredicates.accept(MediaType.APPLICATION_JSON)), | |
| sampleHandlerFunction::getUsers | |
| ); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # packages installation | |
| # pip install pandas | |
| # pip install selenium | |
| # script starts | |
| import os | |
| from time import sleep | |
| from selenium import webdriver | |
| from selenium.webdriver.chrome.options import Options |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-8" standalone="yes" ?> | |
| <CodeBlocksConfig version="1"> | |
| <editor> | |
| <colour_sets> | |
| <ACTIVE_COLOUR_SET> | |
| <str> | |
| <![CDATA[modnokai night shift v2]]> | |
| </str> | |
| </ACTIVE_COLOUR_SET> | |
| <ACTIVE_LANG> |