This file contains 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
import requests | |
from bs4 import BeautifulSoup | |
URL_ROOT = 'https://www.amazon.com' | |
URL_SEARCH = URL_ROOT + '/s?k=' | |
headers = { | |
'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) ' | |
'Chrome/75.0.3770.142 Safari/537.36'} |
This file contains 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
object DebugUtils { | |
private val TAG = LogUtils.makeLogTag("DebugUtils") | |
/** | |
* Export SQLite DB to external files directory. | |
* | |
* @param context The context to use. | |
* @param name SQLite DB name. | |
*/ | |
fun exportSQLite(context: Context, name: String) { |
This file contains 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
public class DebugUtils { | |
private static final String TAG = LogUtils.makeLogTag("DebugUtils"); | |
private DebugUtils() { | |
} | |
/** | |
* Export SQLite DB to external files directory. | |
* | |
* @param context The context to use. |
This file contains 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"?> | |
<resources> | |
<!-- Red --> | |
<color name="red_50">#FFEBEE</color> | |
<color name="red_100">#FFCDD2</color> | |
<color name="red_200">#EF9A9A</color> | |
<color name="red_300">#E57373</color> | |
<color name="red_400">#EF5350</color> | |
<color name="red_500">#F44336</color> |