The following extension adds a menu item to the right-click menu that enables you to search for the selected text with specified sort criteria - Relevance, Upload Date, View Count, Rating.
Create a folder named search_youtube_sort and add the following manifest.json and search_youtube_sort.js files to this folder.
Go to about:debugging in Firefox and click Load Temporary Add-on and load the manifest.json file. Then right-click on the selected text on a webpage and choose the sort criteria to search in Youtube.
This blog is all about informatory articles based on my experience on various areas, including information technology, communications research, stock trading, traveling and cooking.
Showing posts with label html. Show all posts
Showing posts with label html. Show all posts
Wednesday, 23 January 2019
Monday, 27 October 2014
Bing Search Using Python
Partial output of the above Python script is shown below:
Labels:
beautifulsoup,
bing search,
google,
html,
pages,
parse,
python,
search results,
yahoo
Monday, 5 May 2014
Compare HTML Pages: HTML Tags Counter
There are many instances in which we would want to compare HTML templates programmatically. One of the simplest methods or one of the factors that could be used to rule out the similarity of two HTML pages is to count the number of HTML tags in those pages and compare the same.
The following Python script helps to get the HTML tag count of an HTML webpage given a URL:
A sample output of the above script is given below:
The following Python script helps to get the HTML tag count of an HTML webpage given a URL:
A sample output of the above script is given below:
Labels:
compare html pages,
compare html templates,
counter,
dictionary,
div,
html,
map,
script,
table,
tag,
tags,
urllib,
website similarity
Subscribe to:
Posts (Atom)
