Youtube changed the way the video file URLs are displayed in the source code.
For those of you with the free version, do me a favor and test this new code out in the PHP converter class (this replaces the current SetFlvUrls method):
The same basic logic should be applicable to the paid-for version as well...but I have yet to work on the code for that version...don't worry, It's coming soon!
For now, please let me know if the above code works, and thanks again for your continued patience.
__________________
Regards, R.J.
Last edited by chump2877; 12-19-2012 at 05:00 PM..
DO NOT USE THE ZIP DISTRIBUTION LOCATED AT THE ABOVE LINKED PAGE. USE ONLY THE ZIP FILE ATTACHED TO THE BOTTOM OF THIS POST.
New in this release:
1) YouTube changed the format of video file URLs in the video page source code. This fix addresses this change.
I will soon be updating the paid-for version of the app as well, and I will email an updated (free) copy to all those who have already purchased the script. (Updates will be sent to your Tradebit email addresses only.)
As always, please let me know if you have any questions/concerns regarding the above and/or the code.
As promised, I have just finished updating the paid-for version of my software. New in this version:
1) YouTube changed the format of video file URLs in the video page source code. This fix addresses this change.
All previous customers who have purchased the paid-for version of my app are receiving this new, updated version via the e-mail addresses that you provided at Tradebit.com.
Please report any issues with either the paid-for version or the free version in this forum thread.
As promised, I have just finished updating the paid-for version of my software. New in this version:
1) YouTube changed the format of video file URLs in the video page source code. This fix addresses this change.
All previous customers who have purchased the paid-for version of my app are receiving this new, updated version via the e-mail addresses that you provided at Tradebit.com.
Please report any issues with either the paid-for version or the free version in this forum thread.
Thanks!
Hello Randall,
I have paid version of your script as well. Can you please tell us what exact code needs to be changed because I have custom designed site and I dont want to mess up everything..
To those of you that may have "customized" the code in the PHP converter class (regardless of which version of my code you're using):
The point of putting all of the functionality related to video conversion into a PHP class is to take advantage of one of the fundamental advantages of an object-oriented programming (OOP) design: code abstraction. So you put all of your fundamental logic in a "base" PHP class, and then any customization of those classes can be achieved in inherited classes (via overriding class members). Subsequently, the base class doesn't need to be edited.
In the context of my code, the base PHP class is YouTubeToMp3Converter.class.php or VideoConverter.class.php (depending on what version you have). In relation to the recent fix, if you need to customize this class, you can extend it with your own class that overrides the SetFlvUrls() or SetVidSourceUrls() methods (again, depending on what version you have). And you don't have to edit the base class.
The moral of the story here is that you can customize my code without editing the core class code. And if you edit the core class code, then you make it harder for yourself to embrace newer versions of the software.
Regarding the recent fix, the only code that changes is in the SetFlvUrls() or SetVidSourceUrls() methods. The sole purpose of these methods is to retrieve an array of video URLs that can be used for conversion. So forgive me if I am having a hard time understanding why you would want to "customize" that functionality? And if you did need to customize something there, please don't change the code directly in the conversion class. Extend the class with your own class and make your changes in your custom class.
All of this taken into consideration, if you need any further help (from me) applying the fix to your custom/modified code, then I will have to charge you for the work and time spent.
hi bro i need VideoConverter.class.php update Please
Please send me your Tradebit.com email address -- the one you supplied when purchasing my software. Then I will send you the update. FYI - You should have already been emailed this update.
You purchased the software, so you now have the most updated version.
Quote:
bro all can You add Xvideos and tube8 and xhamster
This may be a mistake on my part, but I'm going to assume that this is a serious question. You can add additional video hosting sites to the software with a little customization of the code.
If the mentioned sites have APIs for accessing their video content, then that would be ideal. Otherwise, you may have to scrape the HTML source code of their pages to retrieve video file URLs.