Google Indexing API with Python

If you have problems with indexing of new pages, although the quality of the pages is at a high level, then perhaps the Google Indexing API can help. IMPORTANT: Google recommends the use of the Indexing API ONLY for Job Posting and Live Streaming. But tests showed that you can index normal website content with the API as well. So you are doing this at your own risk, if you use the API for other content. Following you find a step-by-step tutorial how to set up the Google Indexing API with Python.

Read more

PHP Simple HTML DOM Parser doesn’t work anymore – preg_match_all() Warning

Your script which uses the PHP Simple HTML DOM Parser doesn’t work anymore? Probably you or your webhoster have updated the PHP version. If you have enabled PHP error reporting, you should get the following warning:

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in D:\xampp\htdocs\test\simple_html_dom.php on line 1364

and for line 684 as well

Warning: preg_match_all(): Compilation failed: invalid range in character class at offset 4 in D:\xampp\htdocs\test\simple_html_dom.php on line 684

But what’s wrong with the preg_macht_all(), why does it not work anymore? 

Read more