This is a program that allows us to make an offer on Opensea.io automatically.
Xem tiếp >> “Make an offer on Opensea.io automatically”Python get current time by timezone
While creating a Python program, we may have to get the current time following a timezone. Below lines of code works for the purpose.
1 2 3 4 5 6 |
from datetime import datetime from pytz import timezone tz = timezone('the time zone') # exmaple: tz = timezone('EST') datetime.now(tz) ## this returns a datetime object pointing to right now ## according to the timezone info object handed in as the tz variable. |
In order to show all timezones, let following below command
1 2 3 4 5 6 7 |
import pytz pytz.all_timezones Output: ['Africa/Abidjan', 'Africa/Accra', 'Africa/Addis_Ababa', ...] |
Update GitHub authentication to use a token on macOS (rather than password)
GitHub has disabled password authentication. Below are steps to update the authentication to use a token on macOS.
Xem tiếp >> “Update GitHub authentication to use a token on macOS (rather than password)”Resolve ReCaptcha callback
In order to resolve ReCaptcha, we have to use some resolving captcha service and integrate it into our program. This article will guide you how to integrate it into Python/Selenium program
Xem tiếp >> “Resolve ReCaptcha callback”Python using Playwright with proxy
What is Playwright?
The playwright is a web autotest (automation) framework which is provided by Microsoft. It is similar to Selenium.
Xem tiếp >> “Python using Playwright with proxy”Best Proxies for Web Scraping
What is web scraping?
Web scraping, web harvesting, or web data extraction is data scraping used for extracting data from websites. A web scraping software may access the World Wide Web directly using the Hypertext Transfer Protocol or through a web browser.
Xem tiếp >> “Best Proxies for Web Scraping”