Youssif Shaaban Alsager

Youssif Shaaban Alsager

Software Developer and Technical Writer / Translator.

Using Parsel instead of Beautiful Soup for Web Scraping
Using Parsel instead of Beautiful Soup for Web Scraping
For a long time, I have been using Beautiful Soup 4 to extract data from web pages' HTML markup, it's popular, easy, robust, and battle-tested library for navigating, searching, and modifying the DOM tree. But, recently I came across Parsel, another HTML parsing library that supports XPath selectors, which is missing in Beautiful Soup, and I was in need of using something that can extract data from HTML using XPath so I decided to get it a try. Here's my thought after using it!
Debugging and fixing Selenium's send_keys() wrong text input
Debugging and fixing Selenium's send_keys() wrong text input
I recently faced a weird problem while working on a freelance Selenium project in Python which is: send_keys method is sending random wrong input. Here are the details of the problem, how did I debug it and how I manged to fix after hours of investigating!
yshalsager
How to build a Project Treble GSI ROM from source?
Project Treble is a re-architecture of Android by Google that created a split between the OS framework and device-specific low-level software. This new change allow users to flash Generic System Images on their devices, and developers to build one image for a large variety of devices. Here's how to build it!
yshalsager
DualBootPatcher Ultimate Guide: How to use, build and add new devices!
DualBootPatcher is an open-source app that allows multiple ROMs to be installed on a single Android device. In this article I will cover everything about it, for regular and super users as well.
How to use more than keyboard layout and switch between them in Android x86?
How to use more than keyboard layout and switch between them in Android x86?
Android x86 supports multiple keyboard layouts but it doesn't support switching between them easily using a shortcut like alt+shift. Here's how you can do this!
yshalsager