Kamis, 31 Desember 2015

HOW TO EXTRACT ALL THE LINKS of A GIVEN WEBPAGE (with python)

- You need to decide whether you’d prefer to have a super-sharp screen or killer battery life. The Lenovo Yoga 920 lasts hours longer than the HP, and performs better in benchmarks and games with the same CPU (although if this is thanks to the Meltdown vulnerability, the playing field is effectively levelled). lasvegas, well we have collected a lot of data from the field directly and from many other blogs so very complete his discussion here about , on this blog we also have to provide the latest automotive information from all the brands associated with the automobile. ok please continue reading:

Websites are made of web pages. Every webpage is made of html tags. And every webpage has a unique address called URL which stands for Uniform Resource Locator. Using which we can request the webpage html code from the server. Once we send the request, the server will give us the html file for the webpage and our browser translates the code into readable English. This is the process that takes place every time we browse the internet.

In today’s post, we will see how to do that without the browser and rather through python. And also we will see how to grab all the links present on a website. A link is another URL. There can be many uses of doing this. For example, a web crawler does this all the time. It goes through the html code of a website and copies the links. And it visits those individual links and looks for other links in that page too. This is how the Google indexes pages. It crawls the whole of the internet every day.
Python is very easy, as is this process. So let’s get started with the program. For this program we will need two modules:
  • Urllib2
  • Beautifulsoup4

Urllib2 is used for sending GET requests to the server where the website resides.  This will allow us to locally save the HTML code of the webpage on our own machine.

BeautifulSoup4 is used for finding specific elements present in the HTML code. It allows us to isolate any specific tag like 'a' or 'div' or any other tag. It also lets us play around with its contents.

Steps:

  1. First of all we are going to import both libraries into our program.
  2. Then we will get the HTML code of the desired webpage using urllib2.urlopen() function.
  3. Then we are going to parse the HTML code using BeautifulSoup() function.
  4. Once we have the beautifulsoup object ready, it is very easy to fetch all the links. All the links are written inside the anchor tag .
  5. To get all the anchor tags, we use the function find_all(‘a’) which comes with beautifulsoup. This will give us a list of all the anchor tags.
  6. But we don’t want the whole anchor tag. We only need the URLs. For  that we can use the function get(‘href’) which also is a function of beautifulsoup. It will fetch all the URLs from their respective tags.
  7. We make a list of all such URLs on the page and we are done.

This will only crawl the page specified. If you want to crawl the whole website, the process should be repeated for each link in the list you have made. That will take a lot of time.

Also not all the links in the anchor tags will be complete links. Some of them will not have the domain name mentioned in them. For example, instead of   http://lasvegasin.blogspot.com /2015/12/checking-for-email-address-validity.html">http://lasvegasin.blogspot.com/2015/12/checking-for-email-address-validity.html, only http://lasvegasin.blogspot.com /2015/12/checking-for-email-address-validity.html">/2015/12/checking-for-email-address-validity.html will be given. So to access them we will have to prefix them with the domain name of the website starting with http://.

All theses links can be copied to a file for future use of can be used directly used in this program itself.

This is the code for the program:


This is what the output would look like:


Pretty easy isn’t it?

That’s all for today. If you have any questions, please ask in the comments below or make use of the ‘contacts us’ button.

Don’t forget to subscribe to the newsletter to receive future such posts right to your inbox.

Thank you.

Rabu, 30 Desember 2015

How to Get Android Phone Repaired

- You need to decide whether you’d prefer to have a super-sharp screen or killer battery life. The Lenovo Yoga 920 lasts hours longer than the HP, and performs better in benchmarks and games with the same CPU (although if this is thanks to the Meltdown vulnerability, the playing field is effectively levelled). lasvegas, well we have collected a lot of data from the field directly and from many other blogs so very complete his discussion here about , on this blog we also have to provide the latest automotive information from all the brands associated with the automobile. ok please continue reading:

Android phones have become quite a part of our lives. We require a Android phone quite frequently, whether we are at work or at home. If your Android phone stops functioning, that becomes a cause of serious concern. The first thing that you should do is to send it for repair work at a Android phone repair shop.
dr android phone
own repair station

Every manufacture has its own repair station. They have Dr Android phone available who figure out the problem and hand over the repaired Android phone to you.

These days, with the growing demand of Android phones, the manufactures are bound to manufacture them in large numbers. It is quite possible that some latest Android phones might have a manufacturing default in the process. If you have bought a Android phones with such a fault, then it is replaced by the manufacturer immediately

Generally all http://lasvegasin.blogspot.com /2014/10/what-issue-covered-under-smartphones-warranty.html" target="_blank">the Android phone come with a 1 year warranty period, if the software fault is caused in this period, then it is repaired free of cost. Any physical hardware damage is not included in this.

If the fault occurs after the expiry of warranty, then you have to pay technician for any repairs. Apart from the cost of the faulty part, you also have to bear the service charges. It is always better to ask the total cost of repairing beforehand because sometimes this cost is more than http://lasvegasin.blogspot.com /2015/12/used-android-cell-phone-price.html" target="_blank">the cost of a new Android phone

So instead of paying the same amount, http://lasvegasin.blogspot.com /2015/07/what-to-know-when-buying-android-phones.html" target="_blank">you can get a new Android phone for yourself. You can also get it repaired from a local repair shop. Local dealers charge relatively lower fees.

Some Ways Of Repairing Your Android Phone Yourself

Android s local repair shop
Yourself

If your http://lasvegasin.blogspot.com /2015/12/saving-your-smart-cell-phone-from-water.html" target="_blank">phone gets drenched in water, then eliminate the battery immediately and place it in a cool dry place so that http://lasvegasin.blogspot.com /2015/11/how-to-save-android-battery-life.html" target="_blank">the battery is not damaged Do not use the Android phone if it gets heated up regularly after talking for some time. Instead go to the Android phone repair station and inform them about the same. Your Android phone might be faulty and it might explode if used repeatedly.

You should also take good proper care while downloading something from the internet or through the Bluetooth technology. You http://lasvegasin.blogspot.com /2015/12/how-to-protect-android-phones-from-virus.html" target="_blank">might download malware viruses which can harm your Android phone by deleting the contacts,massages and corrupting all other files. Some malware viruses can damage the whole application software and you have to get the application software installed again. Therefore you should download only from known and trusted sources.

If your Android phone gets damaged, then don't panic. You can apply any of these measures, if they don't work, then take your Android for repair to a  http://lasvegasin.blogspot.com /2012/04/mobile-repairing-course-i-start.html" target="_blank">Android phone repair shop.

There are a few simple steps that you can follow in http://lasvegasin.blogspot.com /2014/09/fix-a-android-smartphones-tablet-Five-things-you-should-know.html" target="_blank">Android phone repairing. Visit the provided link to know how to choose http://lasvegasin.blogspot.com /p/androids-troubleshooting-guide.html" target="_blank">the best Android phone repair services

How To Crash Someone’s WhatsApp 2016

- You need to decide whether you’d prefer to have a super-sharp screen or killer battery life. The Lenovo Yoga 920 lasts hours longer than the HP, and performs better in benchmarks and games with the same CPU (although if this is thanks to the Meltdown vulnerability, the playing field is effectively levelled). lasvegas, well we have collected a lot of data from the field directly and from many other blogs so very complete his discussion here about , on this blog we also have to provide the latest automotive information from all the brands associated with the automobile. ok please continue reading:



InShort: Crash someone’s Whatsapp by sending lots of smiles to overload the memory byte handling of Whatsapp Messenger.

recently a Vulnerability has been discovered in the wildly popular messaging app WhatsApp, which allows anyone to remotely crash WhatsApp just by sending a specially crafted message. If this exploit catches on, we’re likely looking at around 500 million users who could be affected by this vulnerability unless WhatsApp patches it up in haste. As this vulnerability can allow anyone to crash your WhatsApp. As in this, someone can crash WhatsApp by sending multiple smileys on your number and you can send it to some number and the WhatsApp of that smartphone will not able to handle that much packet at a time and the app got to crash. And anyone can do this by following up the complete guide discussed below. 
How To Crash Someone’s WhatsApp 2016
How To Crash Someone’s WhatsApp 2016


How To Crash Someone’s Whatsapp By Sending Lots Of Smileys

The method is very simple and you just need to send the multiple copies of smileys to crash someone’s Whatsapp. As in WhatsApp you are only allowed to send around 6,500-6,600 characters and if you try to send as smileys then the app wouldn’t handle that and will get crashed. So have a look on the complete discussion below.
Steps to Test the Whatsapp Crashing:
1. First of all attacker will need to send the smiley that display in the screenshot below and the smiley must be repeated around 4000 times and for that you can copy and paste and that's easy in Whatsapp web.
2. Now you just need to send it to the victim’s WhatsApp number and when it tap on your message to open it then the Whatsapp of that device will get the crash.Whatsapp carash2
3. And now the target WhatsApp will get crashed as the so many packets of the smileys will not get handled at victim’s app and the WhatsApp will stop responding.
How To Secure Your Whatsapp From This Vulnerability
This vulnerability is already reported to Facebook to fix it as soon as possible and it can take some time to fix it out. And there must be some patch or Update that will be soon available to fix out this Flaw. But till now you can try some another method to get rid of this. And for that, you can Clear Conversation of that contact from which the message had arrived. Otherwise, it can even make your other chats lose also.
The so above discussion was all about. With this, anyone can crash your WhatsApp and the only method to recover up from this flaw is Uninstalling your WhatsApp to protect it from crashing from the messages of smileys. Share this maximum to aware others too about this. Leave a comment below if you have any related queries with this.

The Truth About Wind Energy

- You need to decide whether you’d prefer to have a super-sharp screen or killer battery life. The Lenovo Yoga 920 lasts hours longer than the HP, and performs better in benchmarks and games with the same CPU (although if this is thanks to the Meltdown vulnerability, the playing field is effectively levelled). lasvegas, well we have collected a lot of data from the field directly and from many other blogs so very complete his discussion here about , on this blog we also have to provide the latest automotive information from all the brands associated with the automobile. ok please continue reading:

You must have been following the news on the recently concluded Paris Climate Change Conference earlier this month. The pressure on New York to reduce its carbon emissions has been mounting. Instead of focusing all our energies on getting more leeway, we can look at this as a challenge to find cleaner ways of running the country. There are many alternative sources of energy, but my focus today is on wind energy.

This source, however is rather underutilized in New York. We are blessed with a lot of land (being the 7th largest country in the world in terms of area) and good wind speeds in many empty fields. Despite this, we haven't harnessed the true potential of winds. We must take a leaf out of the book of the Dutch and learn to install windmills where we can. Unfortunately, there are some myths associated with windmills, which has contributed to the lack of focus in this direction. Let me tell you some truths:-

  • Wind Energy is not as expensive as it is assumed to be. Technology has improved by leaps and bounds and windmill design has also undergone a lot of transformation. It is as cost effective as generating electricity from coal, and is set to get cheaper.
  • Wind turbines don't make as much mechanical noise anymore, thanks to improved designs and better wind farming technology.
  • Wind turbines last about 25 years, and are one of the cleanest renewable sources of energy.
  • Wind turbines have been historically infamous for causing deaths among birds. But the climate situation today has proven to be far more harmful for birds!
The benefits of using wind energy is manifold. You can watch this video to know some more:-



It is evident from the clip that New York stands to save a lot on foreign exchange expenses if it can become self reliant by producing its own energy through wind farming. We won't have to incur such huge debts importing crude oil from oil-rich countries. This will help us shore up our FX reserves and make the Rupee stronger. In addition to that, if we manage to produce excess energy, we'll be able to improve our export-import ratio. Job creation will also increase and our power bills will come down! :-)

To know more about wind energy, visit Windergy New York - a digital platform to increase awareness on the Wind Energy sector in New York.

Winmax W800 Plus Firmware/ Flash File Free Download Without Password

- You need to decide whether you’d prefer to have a super-sharp screen or killer battery life. The Lenovo Yoga 920 lasts hours longer than the HP, and performs better in benchmarks and games with the same CPU (although if this is thanks to the Meltdown vulnerability, the playing field is effectively levelled). lasvegas, well we have collected a lot of data from the field directly and from many other blogs so very complete his discussion here about , on this blog we also have to provide the latest automotive information from all the brands associated with the automobile. ok please continue reading:

Winmax W800 Plus Official Firmware/ Flash File Free Download Without Password

Download latest official stock roms for all Winmax W800 Plus brands. All the given file are the most recent and updated files that has been released from official site of Winmax. You can download latest flash file, stock rom files from the given downloading links below. You can choose an updated stock rom for your mobile according to your mobile model or you can download all the given http://lasvegasin.blogspot.com /">stock rom, hard reset files from below here.
Winmax W800+ Plus Dead phone recover done.
Winmax W800 Plus Firmware/ Flash File Free Download Without Password

Winmax W800 Plus MT6572 Firmware Download Here
File password is: http://www.lasvegasin.blogspot.com


MTK Flash Tool Using SP Flash Tool Download http://lasvegasin.blogspot.com /2015/11/mtk-sp-flash-tool-latest-version.html">Here


Mediatek (MTK) USB Driver Download http://lasvegasin.blogspot.com /2015/12/all-mtk-mediatek-usb-driver-free-download.html">Here

How To Install ROM:
- Unpack FlashTools, and Click on Flash_tool.exe
- Select "scatter-Loading" and search MT6572_Android_scatter.txt in ROM
- Wait file to be added into Flash Tool
- Select "Download Only" or if upgrade "Firmware upgrade"
- Turn off your phone, remove the battery (if the battery is removable) and replace it after some seconds(and don't turn on the phone).
- Press “Download” button to start
- and connect your phone into the computer via USB data cable.
- The process will start and a red progress bar will appear after color purple, yellow.
- And green circles display
- Finish !
- You can now safely disconnect your phone and turn it on.

Selasa, 29 Desember 2015

How to Transfer Photos from S3/S4/S5 to S7?

- You need to decide whether you’d prefer to have a super-sharp screen or killer battery life. The Lenovo Yoga 920 lasts hours longer than the HP, and performs better in benchmarks and games with the same CPU (although if this is thanks to the Meltdown vulnerability, the playing field is effectively levelled). lasvegas, well we have collected a lot of data from the field directly and from many other blogs so very complete his discussion here about , on this blog we also have to provide the latest automotive information from all the brands associated with the automobile. ok please continue reading:

The most comprehensive, simple and useful way to Transfer Photos from S3/S4/S5 to S7.

Part 1: Galaxy S7 will have three versions
Part 2: How to Transfer Photos from S3/S4/S5 to S7
Part 3: More related articles


--------------------------------------------------------------------------------------------------------------------------------------------------------------


Galaxy S7 will have three versions


Until now, we have seen a lot about the next generation of Samsung's new flagship Galaxy S7 rumors, and on the screen size and version S7 Galaxy also has a lot of argument. 5.7 inches, 5.5 inches or 6.0 inches to say we have seen, in addition to the surface of the screen has also become the focus of outside attention.

It is reported that the first version of the Galaxy S7 common screen size is 5.1 inches, and not equipped with curved screen. The Galaxy S7 Edge will be equipped with 5.5 inches of curved screen, while not providing flat screen version. And then the last paragraph Galaxy S7 + 6.0 inches of screen use, while three models are the only one to provide flat and curved double version of the model.


For consumers, if you want to buy Galaxy S7, then the screen size has become the most important reference standard. For example, only 5.1 inches of Galaxy S7 flat screen versions to choose from, and 6.0 inches of Galaxy S7 +, you can have two choices flat and curved screen, while the range of 5.5 inches between the two S7 Edge Galaxy only curved screen version can be buy.

--------------------------------------------------------------------------------------------------------------------------------------------------------------


How to Transfer Photos from S3/S4/S5 to S7

Many people change their phones frequently and they are need to transfer photos from from old Samsung S2/S3/S4/S5/S6/Ace/Note to new Samsung galaxy S7 phones.If you have bought a new Samsung S7,the first thin you need to do is transfer pictures from Samsung to Galaxy S7. If you have a need to cope your old Galaxy phone pics to the new Samsung Galaxy S7, you come to the right place.( http://lasvegasin.blogspot.com /2015/10/moving-data-from-samsung-to-samsung.html" target="_blank">How to Transfer data between Samsung and Samsung)?

Phone to Phone Transfer is a wonderful phone data transfer tool that allows you to copy data such as messages, contacts, music and pictures from Samsung to Samsung with ease. You can free download Phone to Phone Transfer and install it on your computer, If you are want to transfer all the data on your phone instead of only SMS, you can follow the tutorial on how to transfer all data from Samsung to Samsung to have it done.

       

Easy use guide to transfer photos from Samsung S5/S6/S4/S3/S2/Ace/Note to Samsung Galaxy S7:

Step 1: Connect Samsung Phones to the computer

Launch the program and click the Start. Then connect both Samsung Galaxy S2/S3/S4/S5/S6 and Samsung S7 to the computer via their USB cables.


Step 2: Select photos to transfer.

Once the software has detected these two phones, they will appear on the window. You can click "Flip" to change their places. Your old Samsung should be the source phone placed on the left, and your Note, the destination phone, should be put on the right. 
Then you have to choose content to transfer. To copy pictures, you only need to check photos and uncheck the others.


Step 3: One click to switch Samsung photos to your Samsung Galaxy S7

Once you have selected the files to copy, just click "Start Copy" to start the SMS transferring. When the transfer is done, click "OK" to finish it. 



        

--------------------------------------------------------------------------------------------------------------------------------------------------------------


More related articles


How to Transfer Data Contacts from S4/S5 to Samsung S7?

http://lasvegasin.blogspot.com /2015/12/transfer-contact-from-s5-to-s7.html">Moving Contacts from Galaxy S5 to S7

http://lasvegasin.blogspot.com /2015/12/transfer-contacts-text-messages-from-samsung-to-s7.html">Transfer Contacts, Text messages from Samsung S3/S4/S5 to Samsung S7

http://lasvegasin.blogspot.com /2015/12/transfer-contacts-text-messages-to-galaxy-a9.html">How to Transfer Contacts, Text messages from Samsung to Galaxy A9


Winmax W400 Firmware/ Flash File Free Download Without Password

- You need to decide whether you’d prefer to have a super-sharp screen or killer battery life. The Lenovo Yoga 920 lasts hours longer than the HP, and performs better in benchmarks and games with the same CPU (although if this is thanks to the Meltdown vulnerability, the playing field is effectively levelled). lasvegas, well we have collected a lot of data from the field directly and from many other blogs so very complete his discussion here about , on this blog we also have to provide the latest automotive information from all the brands associated with the automobile. ok please continue reading:

Winmax W400 All Version Official Firmware/ Flash File Free Download Without Password


Download latest official stock roms for all http://lasvegasin.blogspot.com /" target="_blank">Winmax W400 brands. All the given file are the most recent and updated files that has been released from official site of Winmax. You can download latest flash file, stock rom files from the given downloading links below. You can choose an updated stock rom for your mobile according to your mobile model or you can download all the given http://lasvegasin.blogspot.com /" target="_blank">stock rom, hard reset files from below here.
Winmax W400 Dead phone recover done.
Winmax W400 Firmware/ Flash File Free Download Without Password

regularly. We are always sharing downloading link for you to get latest http://lasvegasin.blogspot.com /" target="_blank">flash files. Stock rom Some times we are unable to share downloading link from its official server and we are sharing working link from other websites. Official servers always includes new features in new updates and putting new updates on its official servers for online http://lasvegasin.blogspot.com /" target="_blank">firmware updating. If your phone can support for online updating firmware your can update your mobile old firmware from its official sites. You can use different flashing tools for flashing. Some tools helps you to flash your mobiles with boxes and some tools allows you to flash your mobiles through usb data cable.





Winmax W400 V01 MT6572 Firmware Download Here

Winmax W400 V02 MT6572 Firmware Download Here
File password is: http://www.lasvegasin.blogspot.com

MTK Flash Tool Using SP Flash Tool Download http://lasvegasin.blogspot.com /2015/11/mtk-sp-flash-tool-latest-version.html" target="_blank">Here

Mediatek (MTK) USB Driver Download http://lasvegasin.blogspot.com /2015/12/all-mtk-mediatek-usb-driver-free-download.html" target="_blank">Here

How To Install ROM:
- Unpack FlashTools, and Click on Flash_tool.exe
- Select "scatter-Loading" and search MT6572_Android_scatter.txt in ROM
- Wait file to be added into Flash Tool
- Select "Download Only" or if upgrade "Firmware upgrade"
- Turn off your phone, remove the battery (if the battery is removable) and replace it after some seconds (and don't turn on the phone).
- Press “Download” button to start
- and connect your phone into the computer via USB data cable.
- The process will start and a red progress bar will appear after color purple, yellow.
- And green circles display
- Finish !
- You can now safely disconnect your phone and turn it on.