Jump to content

desibaba

Members
  • Posts

    11
  • Joined

  • Last visited

Posts posted by desibaba

  1. On 2/8/2024 at 8:39 AM, ChrisAngel said:
    ('/https?:\/\/(?:[^\/]+\.)?spankbang\.com\/(?:[\da-z]+\/(?:video|play|embed)\b|[\da-z]+-(?:[\da-z]+)\/playlist\/[^\/?#&]+)/i');
    

    how did you arrive at this URL pattern?

  2. On 5/12/2017 at 2:48 PM, Tech Support said:
    public function get_supported_url_patterns()
       {
           // returns list of regexp patterns that describe video URLs, for youtube this pattern will match
           // https://www.youtube.com/watch?v=htOroIbxiFY
           return array("/https?:\/\/(www\.)?youtube\.com\/watch.*/i");
       }

    how to create the url pattern for the target website? 

  3. 11 minutes ago, Tech Support said:

    You also need to change RewriteRule in .htaccess file. You need to find the rewrite rules that are used for /video pages, e.g. these:

    RewriteRule ^video/([0-9]+)/([^/]+)/$       view_video.php?id=$1&dir=$2 [L,QSA]
    RewriteRule ^video/([^/]+)/$                view_video.php?dir=$1 [L,QSA]

    The first rule is for the case when you pass video ID AND video directory. The 2nd rule is for the case when you pass video directory only.

    So you need to change video part in them to your xxx part.

    like these?

     

    RewriteRule ^xxx/([0-9]+)/([^/]+)/$       view_xxx.php?id=$1&dir=$2 [L,QSA]
    RewriteRule ^xxx/([^/]+)/$                view_xxx.php?dir=$1 [L,QSA]

  4. On 12/16/2023 at 4:55 PM, Tanjiro said:

    Thanks to this topic I can setup R2, but there is one small issue that it keeps showing warning sign

     WARNING: Content on some storage servers is not protected from direct access.

    How can I disable this ? Because R2 is suppose to direct link so it won't be protected right? And I'm fine with that so can I disable that warning sign ?

    From where did you get the CDN control script?

×
×
  • Create New...