├── .gitattributes ├── README.md ├── requirements.bat └── run.py /.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Canva-Pro-Lifetime-Free-Using-Python 2 | Use This Simple Python Script to Get Canva Pro For Free Lifetime. Unlock Canva Pro for Life! 3 | 4 | ## Run Python Code 5 | - Make sure first to download [Python](https://www.python.org/downloads/) 6 | - Install all the necessary libraries by double clicking on the batch file: `requirements.bat` 7 | - Run the script using this command in your command prompt: `python run.py` 8 | - After `60 seconds` a new text file will be created with the free canva pro link 9 | - Just open the link in your browser & Congrats! 10 | -------------------------------------------------------------------------------- /requirements.bat: -------------------------------------------------------------------------------- 1 | pip install asyncio 2 | pip install pyppeteer -------------------------------------------------------------------------------- /run.py: -------------------------------------------------------------------------------- 1 | import asyncio 2 | from pyppeteer import launch 3 | 4 | async def main(): 5 | # Launch a new browser instance 6 | browser = await launch(headless=True) 7 | # Create a new page 8 | page = await browser.newPage() 9 | # Set the user agent 10 | await page.setUserAgent('Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.67 Safari/537.36') 11 | # Navigate to the website 12 | await page.goto("https://bingotingo.com/best-social-media-platforms/") 13 | # Wait for the element with the text "Free Guide" to load 14 | await page.waitForXPath("//h2[text()='Free Guide']") 15 | # Scroll down until the element with the text "Script link" is found 16 | await page.xpath("//h2[text()='Free Guide']") 17 | # Wait for the button to appear and be clickable 18 | print("Trying to find canva pro for you! Please wait 60s...") 19 | await page.waitForXPath("//*[@id='download']", {'visible': True, 'timeout': 70000}) 20 | button = await page.xpath("//*[@id='download']") 21 | # Click the button that opens the new tab 22 | await button[0].click() 23 | # Wait for the new tab to open 24 | await asyncio.sleep(5) 25 | # Get the handle of the new tab 26 | new_tab = (await browser.pages())[-1] 27 | # Switch to the new tab 28 | await new_tab.bringToFront() 29 | # Extract the href link from the button 30 | href_link = await new_tab.xpath("//a[text()='GET HERE']") 31 | href_link = await (await href_link[0].getProperty('href')).jsonValue() 32 | #Print the link of canva pro in a text file 33 | with open("canva_pro_link.txt", "w") as f: 34 | f.write(href_link) 35 | print("Canva Pro Found!") 36 | 37 | # Close the browser instance 38 | await browser.close() 39 | 40 | asyncio.get_event_loop().run_until_complete(main()) 41 | --------------------------------------------------------------------------------