My blog
About me
CV page
Scripts & resources
Ask a question
Search
Topic Title
Topic Body
Both
MegaVideo Premium Link Scraper [PHP Classes] Aug 26, 2010
This class will allow you to scrape MegaVideo Premium Links to share or use for your own.
Please note that you need to follow these steps:
1) Login into your account at MegaVideo (or MegaUpload).
2) View your cookies that you got from whichever site you loged into.
3) Replace USERNUMBER and SESSIONID with your user number and session id from the cookies in the attached file: megavideoCookie.txt.
If you do this excessively, MegaVideo will ban your IP, so you will have to renew your IP every now and then (depending on how heavy the load is).
Enjoy. Let me know if you have any problems.
0 replies
Content Extraction using Preg match [PHP Classes] May 08, 2010
This tiny class allows you to easily extract data from various website. It uses the fileOpen class I created, but can easily be changed if you need it to.
The implementation file shows you how easily it can be implemented, you basically need 3 lines of code to do the extraction and a for loop to show the data. It enables you to remove duplicate results as well.
0 replies
File open class [PHP Classes] May 08, 2010
This class basically encapsulates the following four built in functions: fopen, file_get_contents, filesockopen, and curl.
The only reason I created this class is because sometime some of my work will work on some hosting and some will not because of the file open method I use. This will enable me to easily ask people to switch functions without having to implement much coding on their side.
The class allows users to add headers to file_get_contents, filesockopen, and curl (including referrals, cookies, field inputs, etc..).
0 replies
Email Scraper [PHP Classes] Sep 04, 2009
Here is the promised Email scraper class. In 4 hours, I was able to retrieve over 1000 emails!
0 replies
Attachments:
File:
Database File
Filename:
database.sql
-
561 Bytes
[201 downloads]
File:
Scraper Class File
Filename:
scraper.class.php
-
4,355 Bytes
[192 downloads]
PHP Code:
File:
Class implementation
Filename:
implementation.php
-
851 Bytes
[178 downloads]
PHP Code:
Categories
General
(1)
PHP
(2)
MySQL
(0)
PHP Classes
(4)
Dates
[2009]
»
September
»
October
»
November
»
December
[2010]
»
January
»
February
»
March
»
April
»
May
»
June
»
July
»
August
All rights reserved © Aziz S. Hussain 2009 -
Contact Me
-
Privacy Policy
-
TOS